NFS user able to mount share but permission denied when df / cd

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
On one RHEL 6.10 client, I have a NFS share that works fine as root user, but I got an error with an local user.
The local user :
- is owner of the files on the share
- selinux is disabled (does not help)
- can mount the share but is unable to cd on the share
Permission denied - df thrown a :
'/zzz': Permission deniedfor the share - NFS v3 or v4 same problem
/etc/fstab line =>
myServer:/path-to-share/data /zzz nfs vers=3,rsize=32768,wsize=32768,timeo=14,soft,rw,intr,user 0 0
Has someone an idea ?
As requested :
ls :
drwxr-xr-x 3 myuser myuser 8192 Sep 28 2018 zzz
root:/zzz# ll -l /zzz
total 8
-rw-r--r-- 1 myuser myuser 0 Sep 20 10:55 test-root
drwxr-xr-x 2 myuser myuser 8192 Sep 20 10:56 user
Export Options Edit
Permission read/write allowed (rw)
Privilege root squashing is off (no_root_squash)
Connection security Only privileged clients allowed to open connections to this share (secure).
Write performance Multiple write requests are committed to disk in a single transaction (wdelay).
Lock authentication No authentication is required for lock requests (no_auth_nlm).
Additional Options : crossmnt,hide,sec=sys,subtree_check,sync
rhel nfs
add a comment |Â
up vote
0
down vote
favorite
On one RHEL 6.10 client, I have a NFS share that works fine as root user, but I got an error with an local user.
The local user :
- is owner of the files on the share
- selinux is disabled (does not help)
- can mount the share but is unable to cd on the share
Permission denied - df thrown a :
'/zzz': Permission deniedfor the share - NFS v3 or v4 same problem
/etc/fstab line =>
myServer:/path-to-share/data /zzz nfs vers=3,rsize=32768,wsize=32768,timeo=14,soft,rw,intr,user 0 0
Has someone an idea ?
As requested :
ls :
drwxr-xr-x 3 myuser myuser 8192 Sep 28 2018 zzz
root:/zzz# ll -l /zzz
total 8
-rw-r--r-- 1 myuser myuser 0 Sep 20 10:55 test-root
drwxr-xr-x 2 myuser myuser 8192 Sep 20 10:56 user
Export Options Edit
Permission read/write allowed (rw)
Privilege root squashing is off (no_root_squash)
Connection security Only privileged clients allowed to open connections to this share (secure).
Write performance Multiple write requests are committed to disk in a single transaction (wdelay).
Lock authentication No authentication is required for lock requests (no_auth_nlm).
Additional Options : crossmnt,hide,sec=sys,subtree_check,sync
rhel nfs
1
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
On one RHEL 6.10 client, I have a NFS share that works fine as root user, but I got an error with an local user.
The local user :
- is owner of the files on the share
- selinux is disabled (does not help)
- can mount the share but is unable to cd on the share
Permission denied - df thrown a :
'/zzz': Permission deniedfor the share - NFS v3 or v4 same problem
/etc/fstab line =>
myServer:/path-to-share/data /zzz nfs vers=3,rsize=32768,wsize=32768,timeo=14,soft,rw,intr,user 0 0
Has someone an idea ?
As requested :
ls :
drwxr-xr-x 3 myuser myuser 8192 Sep 28 2018 zzz
root:/zzz# ll -l /zzz
total 8
-rw-r--r-- 1 myuser myuser 0 Sep 20 10:55 test-root
drwxr-xr-x 2 myuser myuser 8192 Sep 20 10:56 user
Export Options Edit
Permission read/write allowed (rw)
Privilege root squashing is off (no_root_squash)
Connection security Only privileged clients allowed to open connections to this share (secure).
Write performance Multiple write requests are committed to disk in a single transaction (wdelay).
Lock authentication No authentication is required for lock requests (no_auth_nlm).
Additional Options : crossmnt,hide,sec=sys,subtree_check,sync
rhel nfs
On one RHEL 6.10 client, I have a NFS share that works fine as root user, but I got an error with an local user.
The local user :
- is owner of the files on the share
- selinux is disabled (does not help)
- can mount the share but is unable to cd on the share
Permission denied - df thrown a :
'/zzz': Permission deniedfor the share - NFS v3 or v4 same problem
/etc/fstab line =>
myServer:/path-to-share/data /zzz nfs vers=3,rsize=32768,wsize=32768,timeo=14,soft,rw,intr,user 0 0
Has someone an idea ?
As requested :
ls :
drwxr-xr-x 3 myuser myuser 8192 Sep 28 2018 zzz
root:/zzz# ll -l /zzz
total 8
-rw-r--r-- 1 myuser myuser 0 Sep 20 10:55 test-root
drwxr-xr-x 2 myuser myuser 8192 Sep 20 10:56 user
Export Options Edit
Permission read/write allowed (rw)
Privilege root squashing is off (no_root_squash)
Connection security Only privileged clients allowed to open connections to this share (secure).
Write performance Multiple write requests are committed to disk in a single transaction (wdelay).
Lock authentication No authentication is required for lock requests (no_auth_nlm).
Additional Options : crossmnt,hide,sec=sys,subtree_check,sync
rhel nfs
rhel nfs
edited Sep 28 at 8:33
asked Sep 27 at 13:21
anael
217
217
1
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13
add a comment |Â
1
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13
1
1
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471828%2fnfs-user-able-to-mount-share-but-permission-denied-when-df-cd%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Can you run as root ls -l on the nfs share and put the contents of /etc/exports on the nfs server?
â Luciano Andress Martini
Sep 27 at 13:40
I have updated my question - comment too long.
â anael
Sep 28 at 8:33
Now ls -l /path-to-share/data and path-to-share, is directories marked with x
â Luciano Andress Martini
Sep 28 at 11:13