[Bug 1377892] Re: no exec, suid or dev when mounting nfs with users or user flags

Launchpad Bug Tracker 1377892 at bugs.launchpad.net
Mon Jun 15 09:45:07 UTC 2015


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nfs-utils (Ubuntu)
       Status: New => Confirmed

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

Title:
  no exec, suid or dev when mounting nfs with users or user flags

Status in nfs-utils package in Ubuntu:
  Confirmed

Bug description:
  1. 
  ubuntu 14.04

  2. 
  nfs-common 1:1.2.8-6ubuntu1.1

  3.
  when mounting an NFS share using this line in /etc/fstab:
  nexenta-cluster1:/pool1/home   /home   nfs   _netdev,vers=3,intr,users,auto,exec,suid,dev   0   0

  i expect to mount the share with exec,suid,dev properties, as specified in 'man mount' in the section about the "user" and "users" options:
  This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid)

  4.
  BUT on Ubuntu 14.04 (and earlier releases too, although I dont' know how far back this goes), when I use 'user' or 'users' flags in /etc/fstab, subsequent specification of exec, dev or suid gets ignored. Doing a "mount -o remount,exec /mount_point" has no effect either. 

  The only way to mount a nfs share with "exec" is to not use 'user' or
  'users' flags in fstab.

  (On debian, this behaviour started with nfs-common version 1:1.2.5-4
  introduced in debian wheezy and is in bug #657497. Nothing seems to be
  done about this bug there.)

  I've tested this against various ubuntu, debian and nexenta nfs
  servers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1377892/+subscriptions



More information about the foundations-bugs mailing list