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

Launchpad Bug Tracker 1377892 at bugs.launchpad.net
Wed Mar 11 14:48:23 UTC 2015


You have been subscribed to a public bug:

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.

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: exec mount nfs nfs-common
-- 
no exec, suid or dev when mounting nfs with users or user flags
https://bugs.launchpad.net/bugs/1377892
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.



More information about the foundations-bugs mailing list