Public bug reported:

The version of 'mount' included in Ubuntu 14.04 LTS and 12.04 LTS has a
bug wherein the 'exec' option in /etc/fstab is ignored on mounts with
the 'user' or 'users' options when they are mounted by root.  For
example:

$ grep 48tb2d /etc/fstab
labdisk.site.com:/Public4       /mnt/lab_48tb2d nfs     users,exec,nosuid       
0 0
$ sudo mount /mnt/lab_48tb2d
$ mount | grep 48tb2d
labdisk.site.com:/Public4 on /mnt/lab_48tb2d type nfs 
(rw,nosuid,nodev,noexec,addr=172.16.222.158)
$ umount /mnt/lab_48tb2d
$ mount /mnt/lab_48tb2d
$ mount | grep 48tb2d
labdisk.site.com:/Public4 on /mnt/lab_48tb2d type nfs 
(rw,nosuid,nodev,addr=172.16.222.158)

This bug was fixed upstream several years ago and I believe therefore doesn't 
affect , but seems not to have made it into the current LTS releases of ubuntu.
https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/mount/mount.c?id=a4c0cc75ff9744299f108c259efab1bd30c8007a
https://bugzilla.redhat.com/show_bug.cgi?id=769636

System info: Ubuntu 14.04.3 LTS, util-linux 2.20.1-5.1ubuntu20.7

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

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

Title:
  mount ignores exec option for 'users' mounts

Status in util-linux package in Ubuntu:
  New

Bug description:
  The version of 'mount' included in Ubuntu 14.04 LTS and 12.04 LTS has
  a bug wherein the 'exec' option in /etc/fstab is ignored on mounts
  with the 'user' or 'users' options when they are mounted by root.  For
  example:

  $ grep 48tb2d /etc/fstab
  labdisk.site.com:/Public4     /mnt/lab_48tb2d nfs     users,exec,nosuid       
0 0
  $ sudo mount /mnt/lab_48tb2d
  $ mount | grep 48tb2d
  labdisk.site.com:/Public4 on /mnt/lab_48tb2d type nfs 
(rw,nosuid,nodev,noexec,addr=172.16.222.158)
  $ umount /mnt/lab_48tb2d
  $ mount /mnt/lab_48tb2d
  $ mount | grep 48tb2d
  labdisk.site.com:/Public4 on /mnt/lab_48tb2d type nfs 
(rw,nosuid,nodev,addr=172.16.222.158)

  This bug was fixed upstream several years ago and I believe therefore doesn't 
affect , but seems not to have made it into the current LTS releases of ubuntu.
  
https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/mount/mount.c?id=a4c0cc75ff9744299f108c259efab1bd30c8007a
  https://bugzilla.redhat.com/show_bug.cgi?id=769636

  System info: Ubuntu 14.04.3 LTS, util-linux 2.20.1-5.1ubuntu20.7

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to