Package: mount Version: 2.25.2-6 Severity: normal Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Trying to mount a nfs4-export as declared in fstab with option "user" as a normal user * What exactly did you do (or not do) that was effective (or ineffective)? I already filed a bug on this against "mount.nfs" as bug # 788547. But now it appears it is the "mount" command which does not handle th option user correctly. Seems it gets no attention there. This bug does not exist in Wheezy, showed up after upgrade to Jessie. I already asked there to assign this bug also to the package "mount" without any reaction, so I do report it here against "mount". * What was the outcome of this action? fstab entry: leo:/Bilder /home/ingo/leo.Bilder nfs4 noauto,rw,user,soft,relatime 0 0 # showmount -e leo Export list for leo: /srv/nfs4/Bilder 192.168.33.0/24 /srv/nfs4 192.168.33.0/24 Mounting as user (UID=1000) fails: $ 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 Using "mount.nfs" instead allows mounting by a user: Executing mount.nfs as a user with full path does not respect the mountpoint as configured in fstab: ~$ /sbin/mount.nfs leo:/Bilder ~$ mount.nfs: no mount point provided Adding the mountpoint works for both mount and umount: ~$ /sbin/mount.nfs leo:/Bilder /home/ingo/leo.Bilder ~$ /sbin/umount.nfs /home/ingo/leo.Bilder This is a security flaw as users cannot mount/umount on demand without root-privileges. * What outcome did you expect instead? mount to work as it does in Wheezy and according to documentation (mount, fstab), which means respect the option "user" -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mount depends on: ii libc6 2.19-18 ii libmount1 2.25.2-6 ii libselinux1 2.3-2 ii libsmartcols1 2.25.2-6 mount recommends no packages. Versions of packages mount suggests: ii nfs-common 1:1.2.8-9 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org