Bug#657497: nfs-common: Exec permission denied
Package: nfs-common
Version: 1:1.2.5-4
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
Since this upgrade I can not execute scripts and programs on an NFS
mount. ls -l shows the x bit is still set, but I get permission denied
when I try to run them, and bash's autocompletion also seems to "know"
they're not executable because it doesn't expand them when I press Tab.
I've tried adding 'exec' to fstab options but it didn't help. The same
thing happens whether I use mount or pmount as a normal user or mount as
root.
-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 47020 status
100024 1 tcp 40017 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 54893 nlockmgr
100021 3 udp 54893 nlockmgr
100021 4 udp 54893 nlockmgr
100021 1 tcp 42107 nlockmgr
100021 3 tcp 42107 nlockmgr
100021 4 tcp 42107 nlockmgr
100005 1 udp 58977 mountd
100005 1 tcp 39316 mountd
100005 2 udp 38698 mountd
100005 2 tcp 37115 mountd
100005 3 udp 58590 mountd
100005 3 tcp 60792 mountd
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
htpc.local:/home/tony /media/htpc nfs exec,user,noauto,nolock 0 0
infant.local:/home/tony /media/infant nfs exec,user,noauto,nolock 0 0
-- /proc/mounts --
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
htpc.local:/home/tony /media/htpc nfs4 rw,nosuid,nodev,noexec,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.78,minorversion=0,local_lock=none,addr=192.168.1.81 0 0
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nfs-common depends on:
ii adduser 3.113
ii initscripts 2.88dsf-18
ii libc6 2.13-24
ii libcap2 1:2.22-1
ii libcomerr2 1.42-1
ii libdevmapper1.02.1 2:1.02.67-2
ii libevent-2.0-5 2.0.16-stable-1
ii libgssapi-krb5-2 1.10+dfsg~beta1-2
ii libgssglue1 0.3-4
ii libk5crypto3 1.10+dfsg~beta1-2
ii libkeyutils1 1.5.2-2
ii libkrb5-3 1.10+dfsg~beta1-2
ii libmount1 2.20.1-1.2
ii libnfsidmap2 0.25-1
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-22
ii lsb-base 3.2-28.1
ii rpcbind 0.2.0-7
ii ucf 3.0025+nmu2
Versions of packages nfs-common recommends:
ii python 2.7.2-10
nfs-common suggests no packages.
Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.20.1-1.2
ii libc6 2.13-24
ii libnfsidmap2 0.25-1
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-22
ii lsb-base 3.2-28.1
ii ucf 3.0025+nmu2
-- no debconf information
Reply to: