[Bug 1108487] [NEW] Allowing extended mounting for entries in /etc/fstab

Sworddragon 1108487 at bugs.launchpad.net
Tue Jan 29 03:36:48 UTC 2013


Public bug reported:

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 at 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".

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1108487

Title:
  Allowing extended mounting for entries in /etc/fstab

Status in “util-linux” package in Ubuntu:
  New

Bug description:
  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 at 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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1108487/+subscriptions




More information about the foundations-bugs mailing list