Comment 0 for bug 1108487

Revision history for this message
Removed by request (removed3425744) wrote :

I'm using Ubuntu 13.04 dev with mount 2.20.1-5.1ubuntu6. On my system in /etc/fstab I have the following entry: /dev/sr0 /media/sr0 auto noauto,ro,user 0 0
On mounting it as user with "mount /dev/sr0" all is working fine. But if I'm trying this with "mount /dev/sr0 /media/sr0" I'm getting the following error:
sworddragon@ubuntu:~$ mount /dev/sr0 /media/sr0
mount: only root can do that

I think mount should check if the optional arguments/options does match an entry in /etc/fstab and if an entry matches continue as the user would just use "mount /dev/sr0".