[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#788546: nfs4 mount.nfs does not respect option "user" in fstab in Jessie



Package: nfs-common
Version: 1:1.2.8-9
Severity: severe

Since upgrade of the client from Wheezy to Jessie I am no longer able to
mount nfs4-exports from a host (leo) running Wheezy as a normal user
(UID=1000):

# showmount -e leo
Export list for leo:
/srv/nfs4/Bilder 192.168.33.0/24
/srv/nfs4        192.168.33.0/24


/etc/fstab entries on the clients (Jessi and Wheezy):
leo:/Bilder /home/ingo/leo.Bilder nfs4 noauto,rw,user,soft,relatime 0 0

In Wheezy all works as expected, in Jessie mount fails with:
$ LANG=en_US.UTF-8 mount leo:/Bilder
mount: leo:/Bilder: No such file or directory

However it is possible to perform the mount as "root".

Umount as user (UID=1000) fails with same "non informative" message:
$ LANG=en_US.UTF-8 umount leo:/Bilder
umount: leo:/Bilder: No such file or directory

This is a security flaw as users cannot mount/umount on demand without
root-privileges.


Reply to: