chmod (as root) gets "permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuse-posixovl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu 12.04 LTS
Release: 12.04
My posixovl version:
fuse-posixovl:
Installed: 1.2~20100321+
Candidate: 1.2~20100321+
I've mounted as a root a posixovl directory over a cifs directory that doesn't handle file permissions.
My cifs fstab mount:
//file-
my posixovl mount commands (i've tried them all)
# mount.posixovl /mnt/fileserver
# mount.posixovl -F /mnt/fileserver
if I
# cd /mnt/fileserver
# touch testfile
# chmod g+w testfile
I get a:
chmod: changing permissions of `testfile': Permission denied
though i'm successfully able to chown. I mounted the cifs fliesysem and the posixovl as root.
A workaround I have just found:
if i mount the filesystem with the undocumented option:
# mount.posixovl -1 /mnt/fileserver /subdir
i'm able to chmod on mounted file system.
Reading the source i've learnt the magic option enables the "single thread" mode. Maybe it has performance issues, but at least it is usable now.