Interestingly, I've noticed a difference between using mount.cifs setuid root (invoked as a normal user) and actually running mount.cifs as root, using sudo:
mount.cifs --verbose -o rw,user=<domain>/rwh,uid=1000,gid=1000 //<fileserver>/<share>/<directory> /media/<share> Password: mount.cifs kernel mount options: ip=<myip>,unc=\\<fileserver>\<share>,noauto,uid=0,gid=0,ver=1,user=rwh,domain=<domain>,prefixpath=<directory>,pass=******** sudo mount.cifs --verbose -o rw,user=<domain>/rwh,uid=1000,gid=1000 //<fileserver>/<share>/<directory> /media/<share> Password: mount.cifs kernel mount options: ip=<myip>,unc=\\<fileserver>\<share>,uid=1000,gid=1000,ver=1,user=rwh,domain=<domain>,prefixpath=<directory>,pass=******** Note the difference between the reported uid and gid values. Perhaps this is a change in the way the kernel module behaves given a setuid root mount.cifs? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/859259 Title: uid,gid,forceuid,forcegid seem to be ignored in smbmount on oneiric 11.10 beta2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/859259/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
