NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
titimoi
Dec 06, 2020Aspirant
How to correctly setup NFS folder permissions
Hello, I've read recently that NFS might be more performant than SMB. Since I'm on linux, I wanted to give it a go. I'm on a RN102 running Readynas 6.10.3. Here is my setup on the NAS: - NFS a...
- Dec 06, 2020
If I am understanding you correctly, you have already configured the share to be owned by MyUser/MyGroup.
What you need to do to apply that setting to all the existing subfolders and files is to click on the "reset" control on the file access share for the share.
Though the warning says it will change permissions to the defaults, you'll find it actually resets the owner/group to the configured value (MyUser/MyGroup in your case).
StephenB
Dec 06, 2020Guru - Experienced User
If I am understanding you correctly, you have already configured the share to be owned by MyUser/MyGroup.
What you need to do to apply that setting to all the existing subfolders and files is to click on the "reset" control on the file access share for the share.
Though the warning says it will change permissions to the defaults, you'll find it actually resets the owner/group to the configured value (MyUser/MyGroup in your case).
titimoi
Dec 06, 2020Aspirant
Thank you so much, that did the trick, and I'm glad I ended up asking.. would never have found that trick.
Can't edit my first post, I mixed the MyUser and MyGroup a little, but you got it still.
BTW, I'm also glad I tried NFS, it seems to yield much better performances.
- StephenBDec 06, 2020Guru - Experienced User
titimoi wrote:
BTW, I'm also glad I tried NFS, it seems to yield much better performances.
Good to know, thx for sharing.
- titimoiDec 12, 2020Aspirant
Quick follow-up question regarding the permissions.
I'm very confused about how this all works.
I've realized that if I setup:
- File Access > Security tab:- Folder owner: root
- Folder group: root
- read/write access to MyUser (reminder, MyUser is setup on the NAS with the same UID and GID as a user MyUser on the client)
- read/write account to folde owner
- read/write account to folder group
---> Then click Reset > "Reset permissions" to apply permissions to all folders and subfolders
- Network Access tab:
- Host: my client IP- Advanced:
- Root squash with UID and GUI left empty.
With the above, I can effectively read/write the files on the client, with MyUser.
The permissions when I mount the folder are the following:> MyUser$ ls -la ./ drwxrwx--- 1 root root 200 Oct 7 20:16 Some_Folder
Also important to note, MyUser on the client is not member of root group.. So I don't understand how it is possible for this user to access those files. It seems that the server settings, although not visible on the client, overwrite the settings that my local system know.
If I change any of the "File Access" settings above (like removing the read/write account to folder group) then MyUser cannot access the files on the client any more. Do you know why? This also doesn't make sense to me.- StephenBDec 12, 2020Guru - Experienced User
Did you also look at the ACL?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!