[oclug] Clarification: *Why* aren't users generally able to unmount
Michael Anderson -- Fibics Incorporated
manderson at fibics.com
Fri Feb 9 09:58:10 EST 2001
Vic Gedris wrote:
> How were you able to mount it if you cannot unmount it? Wouldn't it
> have to be in /etc/fstab in the first place to mount as a regular user?
This is pretty much the same problem that we saw with setting up
the Corel Linux lab last August: it seemed fairly straight forward
to have a user's home directory
> I don't see any harm in unmounting something you mounted yourself
> either.... anyone?
[michaela at localhost ~]$ ls -ld tmpmnt
drwxrwxrwx 2 michaela michaela 4096 Jan 24 15:08 tmpmnt
[michaela at localhost ~]$ ls -l /bin/*mount
-rwsr-xr-x 1 root root 62268 Oct 3 01:39 /bin/mount
-rwsr-xr-x 1 root root 28380 Oct 3 01:39
/bin/umount
[michaela at localhost ~]$ smbmount //jungle/downloads tmpmnt
Password:
[michaela at localhost ~]$ umount tmpmnt
umount: /home/michaela/tmpmnt is not in the fstab (and you are not
root)
[michaela at localhost
~]$
More information about the OCLUG
mailing list