uid,gid,forceuid,forcegid seem to be ignored in smbmount on oneiric 11.10 beta2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I recently upgraded from 11.04 to 11.10 beta 2.
I've been using smbmount to connect to a samba share on another ubuntu machine for years, but since upgrading it has stopped working properly.
The command I've used successfully in the past is:
sudo smbmount //server/bigdrive ~/big -o user=deb,
That always used to make the files show up as user chris, group chris, and so I could edit them locally. In 11.10 however, that same command makes everything appear to be user root, group root. Even if I add 'forceuid' and 'forcegid' options, they still show up as root:root. If I add the 'noperm' mount option too, the files still show up as root:root, but then I can edit them. However, I'm still unable to delete files from directories with the 't' bit set, whereas previously I was able to delete such files. Here's an example. The folder has the 't' bit set. File 'x' doesn't exist. I can create it, but not delete it, unless I use 'sudo' to do so.
chris@chris:~/big$ ls -ld .
drwxrwxrwt 32 root root 0 2011-09-25 16:03 .
chris@chris:~/big$ ls -l x
ls: cannot access x: No such file or directory
chris@chris:~/big$ touch x
chris@chris:~/big$ ls -l x
-rw-r--r-- 1 root root 0 2011-09-25 16:03 x
chris@chris:~/big$ /bin/rm x
/bin/rm: cannot remove `x': Operation not permitted
chris@chris:~/big$ sudo /bin/rm x
chris@chris:~/big$ ls -l x
ls: cannot access x: No such file or directory
chris@chris:~/big$
I mounted the share using:
sudo smbmount //server/bigdrive ~/big -o noperm,
Here are the versions:
chris@chris:~/big$ lsb_release -rd
Description: Ubuntu oneiric (development branch)
Release: 11.10
chris@chris:~/big$ apt-cache policy cifs-utils
cifs-utils:
Installed: 2:5.0-1ubuntu1
Candidate: 2:5.0-1ubuntu1
Version table:
*** 2:5.0-1ubuntu1 0
500 http://
100 /var/lib/
chris@chris:~/big$
summary: |
- uid,gid,forceuid,forcegid seem to be ignored + uid,gid,forceuid,forcegid seem to be ignored in smbmount on oneiric + 11.10 beta2 |
Status changed to 'Confirmed' because the bug affects multiple users.