Re: only root can unmount
On Wed, 26 Nov 2008 21:30:03 +0000, T o n g wrote:
> I get the following error when unmounting dvd:
>
> $ umount /mnt/dvd
> umount: only root can unmount /dev/dvd from /mnt/dvd
>
> Strange is that, I have "user" in my fstab:
>
> $ grep dvd /etc/fstab
> /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0
>
> and moreover, I mounted /mnt/dvd as myself, not root.
>
> What could be wrong?
Hi,
Thanks everyone. Here is all info required from the replies so far, apart
from above:
As me:
tong@helios:~$ mount /mnt/dvd
tong@helios:~$ mount | grep /dvd
/dev/scd2 on /mnt/dvd type udf (ro,nosuid,nodev,utf8)
tong@helios:~$ ls -l /bin/umount
-rwsr-xr-x 1 root root 44088 2008-04-28 /bin/umount
tong@helios:~$ umount /mnt/dvd
umount: only root can unmount /dev/dvd from /mnt/dvd
tong@helios:~$ grep dvd /etc/fstab
/dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0
tong@helios:~$ cat /proc/mounts | grep dvd
/dev/scd2 /mnt/dvd udf ro,nosuid,nodev,utf8 0 0
tong@helios:~$ groups
tong adm tty disk mail news uucp dialout fax voice cdrom floppy tape sudo
audio dip www-data video plugdev games users guest
tong@helios:~$ ls -ld /mnt/dvd
dr-xr-xr-x 4 4294967295 4294967295 136 09-29 12:17 /mnt/dvd
thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: