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

Bug#657497: nfs mount options in /etc/fstab weirdness



Hello, 

I have similar problems.

By experimenting I came across some weird behaviour:

In /etc/fstab I have:
apr:/media/extdisk       /import         nfs     user,noauto,async,exec,nfsvers=3

When root calls "mount /import" the exec option is ignored.
~# mount /import
~# mount | grep import
apr:/media/extdisk on /import type nfs (rw,nosuid,nodev,noexec,relatime,vers=3,rsize=...)

~# /import/bin/testscript
-bash: /import/bin/testscript: Keine Berechtigung

~# umount /import 


When a regular does the same, the exec option is active:
~$ mount /import/
~$ mount | grep import
apr:/media/extdisk on /import type nfs (rw,nosuid,nodev,relatime,vers=3,rsize=...,user=markus)
~$ /import/bin/testscript 
Run /import/bin/testscript: OK!

~$ umount /import/
umount.nfs: /import: not found
umount.nfs: /import: not found

But umount does not work!

What a mess in a so called 'stable' release Debian 7.1!

Markus


Reply to: