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

Bug #1377892 reported by mkovac
14
This bug affects 3 people
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-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.

Simon Déziel (sdeziel)
affects: nsd (Ubuntu) → nfs-utils (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nfs-utils (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.