On Saturday 06 October 2007 01:25:29 am G T Smith wrote: > Ron Eggler wrote: > > On Friday 05 October 2007 01:51:10 am G T Smith wrote: > > [snip] > > > >>>>> Be sure to note the difference between the 'user' and the 'users' > >>>>> options. The man page only mentions users unmounting if the 'users' > >>>>> option is supplied. The 'user' option seems to be limited to > >>>>> mounting. > >>>> > >>>> Nix. The difference is that if "user" is given, any non-root user can > >>>> mount it and only the same user can unmount it. With "users", any user > >>>> can mount it, and *any* user can unmount it > >>> > >>> Okay, I changed "user" to "users" in my fstab, umounted my share, > >>> mounted it back with 'mount -a' and then i did following: > >>> [EMAIL PROTECTED]:~> umount /mnt/data > >>> Trying to unmount when /sbin/umount.cifs not installed suid > >>> Trying to unmount when /sbin/umount.cifs not installed suid > >> > >> I would guess that this means that you need to set the same suid on > >> umount.cifs as you have on mount.cifs. > > > > But I have set both with"sudo chmod +s /sbin/umount.cifs" > > I don't know what else i can do, i'm getting desperate :( > > Thanks for your help! > > a) Have you checked the suid has actually been set... > b) the info entry on chmod documents the possibility of using u+s rather > than +s... (setting suids is something I do rarely)
They are the same, aren't they? [EMAIL PROTECTED]:~> ls -n /sbin/umount.cifs -rwsr-sr-x 1 0 0 14416 2007-06-29 04:51 /sbin/umount.cifs [EMAIL PROTECTED]:~> ls -n /sbin/mount.cifs -rwsr-sr-x 1 0 0 22928 2007-06-29 04:51 /sbin/mount.cifs Thanks for any further help! What I'm trying to do by the way is: Get my cifs mounts umounted before my server gets shutdown and i shoutdown my server with a "shutdown" command in my ~/,kde/shutdown directory. I've tried shutting it down with a "S" init script in /etc/init.d/rc5.d or /etc/init.d/rc0.d but this didn't work fine so i decided to do it the KDE way. Now before executing the shutdown command for my server i want to umount the shares (and since I'm a user at this time, i need to be able to umount em as user). Thanks for help or suggestions. -- chEErs Ron -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
