NFS Permission Problem

weswitt

Cadet
Joined
Oct 25, 2022
Messages
1
I have a dataset that is shared out as a Windows share and a Linux share. I can access the files from a Windows PC no problem, but not on Linux via NFS. The NFS mount succeeds but trying to access the files gives "cannot open directory Permission denied". I have other NFS shares that work perfectly with ACLs that look the same. Any ideas? How can i resolve this?
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
If that is a directory that is shared via SMB and NFS at the same time, this is known to be challenging. The recommendation is to not do this. Personally I have no experience with this, though.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Do you know what uids / gids the NFS client is using to access the path? That's usually the best place to start looking to understand permissions errors. Once you determine uids and how they map to a local truenas user then you can do smoketest of `su <username>` then `chdir <path>` to make sure you have proper traverse permissions to the path being exported.
 
Top