Page 1 of 1

NFS permission denied on some folders

Posted: Sat May 21, 2016 11:56 am
by Draknof
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

Re: NFS permission denied on some folders

Posted: Sun May 22, 2016 3:19 am
by rene
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).

Re: NFS permission denied on some folders

Posted: Sat Oct 15, 2016 9:22 am
by Draknof
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: