no exec, suid or dev when mounting nfs with users or user flags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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-
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: | nsd (Ubuntu) → nfs-utils (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.