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:

[EMAIL PROTECTED]:~$ mount /mnt/dvd

[EMAIL PROTECTED]:~$ mount | grep /dvd
/dev/scd2 on /mnt/dvd type udf (ro,nosuid,nodev,utf8)

[EMAIL PROTECTED]:~$ ls -l /bin/umount
-rwsr-xr-x 1 root root 44088 2008-04-28  /bin/umount

[EMAIL PROTECTED]:~$ umount /mnt/dvd
umount: only root can unmount /dev/dvd from /mnt/dvd

[EMAIL PROTECTED]:~$ grep dvd /etc/fstab
/dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0

[EMAIL PROTECTED]:~$ cat /proc/mounts | grep dvd
/dev/scd2 /mnt/dvd udf ro,nosuid,nodev,utf8 0 0

[EMAIL PROTECTED]:~$ groups
tong adm tty disk mail news uucp dialout fax voice cdrom floppy tape sudo 
audio dip www-data video plugdev games users guest 

[EMAIL PROTECTED]:~$ 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/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to