NFS permission denied on some folders

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
Draknof
Level 1
Level 1
Posts: 15
Joined: Mon Apr 06, 2015 6:36 am

NFS permission denied on some folders

Post by Draknof » Sat May 21, 2016 11:56 am

Hello,
I have a NAS QNAP TS-231 with NFS permissions configured with read/write rights and ALL_SQUASH enabled
I have 2 Linux Mint computers accessing the NAS with this fstab configuration/

Code: Select all

192.xxx.xxx.xxx:/NAS1 /media/m-okanochiwa/NAS nfs rsize=8192,wsize=8192,nosuid,soft 0 0
It used to work seamlessly, however one day some random folders became inaccessible from both my computers.

Code: Select all

ls: cannot open directory XXXX: Permission denied
Surprisingly even some new folders that I create can become inaccessible after a while. They all are accessible in FTP browsing.
Any idea?

Thanks

rene
Level 12
Level 12
Posts: 4417
Joined: Sun Mar 27, 2016 6:58 pm

Re: NFS permission denied on some folders

Post by rene » Sun May 22, 2016 3:19 am

It's likely a simple file-permission issue; the, at minimum, user "r" bit appears missing on the affected directory/ies. Set it or them back with chmod u+r xxxx or chmod ugo+r xxxx (and tell your son using that other Mint computer to more effectively hide his "art" collection in the future).

Draknof
Level 1
Level 1
Posts: 15
Joined: Mon Apr 06, 2015 6:36 am

Re: NFS permission denied on some folders

Post by Draknof » Sat Oct 15, 2016 9:22 am

Hi and thank you for your answer.

Sorry but can I change the file permission for these random folders? On my NAS, I have set global read-write permission to the parent folder, and allowed the relevant IP addresses in the NFS rights.

PS: we have a common "art" collection with my son :mrgreen:

Post Reply

Return to “Other networking topics”