-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 03 Apr 2003 1:42 am, Cameron Hutchison wrote: > Once upon a time Lukas Ruf said... > > > * Lukas Ruf <[EMAIL PROTECTED]> [2003-04-02 18:33]: > > > * Kirk Strauser <[EMAIL PROTECTED]> [2003-04-02 18:28]: > > > > At 2003-04-02T13:30:54Z, Lukas Ruf <[EMAIL PROTECTED]> writes: > > > > > running Debian sid, I can mount arbitrary, in fstab-preconfigured > > > > > mount points as an ordinary user. However, umount'ing these mount > > > > > points is possible for root only. Why? I would like to umount > > > > > those points as an ordinary user as well. > > > > > > > > What error do you get when you try to umount those points? > > > > > > umount: only root can unmount komsys-pc-bern:/home/ruf from > > > /home/ruf/Ruf > > > > Has anyone experienced the same problem with mount/umount? > > I get the same problem, but it's wierder than it seems. > > If I mount a smbfs or nfs filesystem with the user option, as an ordinary > user, I cannot umount the filesystem. I get the same error you get. > > If I mount a fat filesystem (from a USB memory device) that also has the > user option, as an ordinary user, I *can* umount the filesystem.
I think that /bin/mount is set uid root so that it writes to mtab as root. /sbin/mount.smbfs is a symlink to /usr/sbin/smbmount which isn't set uid root. - -- Alan Chandler [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jeyjuFHxcV2FFoIRAu38AJ49IJsRIkG64DZUzT1gq0vwY5dehgCfaw8C BfBVxgrMaf48OF+VWqs8Ink= =YHIR -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]