-----BEGIN PGP SIGNED MESSAGE----- * 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 >
browsing through the latest source fetched with apt-get source mount let me to the following assumption according to information found in umount.c, line 567ff: - the entries in /etc/mtab are not correctly set by mount since a) my /etc/fstab contains the 'user' option b) comment on line 575 (umount.c) says: /* A convenient side effect is that the user who mounted is visible in mtab. */ c) if the option 'users' was specified in /etc/fstab, any user could umount the mounted point. c) my /etc/mtab does not contain any 'user=' entry as it is searched for if 'user' was specified in /etc/fstab => the entries in /etc/mtab (which is a link to /proc/mounts). Has anyone experienced the same problem with mount/umount? I am running Linux 2.4.20, umount: mount-2.11z, mount: mount-2.11z on a Debian sid system. Thanks for any hint! wbr, Lukas - -- Lukas Ruf | Wanna know anything about raw | <http://www.lpr.ch> | IP? <http://www.rawip.org> | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBPoszxWg5P0zSC6LtAQF3rAP+PpcrEGv2kK5ecXm+aPWA38upjMhssXP8 mVImBzU0LhUDRHkrnX0raqZ3jx0vDgUN3e5ifePxIFRIKz+27Gz55v7ZE9WyK8XO RlYrrzkjsmy2/9S9aiWSrp7RUNwF3w/hzHl70vq77nj7KbKJR2n9Qpc6niBtjfNQ RdsGfCVbVc4= =HV9n -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]