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

The name of the pictureThe name of the pictureThe name of the pictureClash 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 denied for 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










share|improve this question



















  • 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














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 denied for 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










share|improve this question



















  • 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












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 denied for 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










share|improve this question















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 denied for 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)