Cobra Forum

Linux => Networking & Wireless => Topic started by: kalpana on Oct 19, 2023, 04:46 AM

Title: Permission denied for NFS NAS Share
Post by: kalpana on Oct 19, 2023, 04:46 AM
I was successfully able to mount a NAS (ZyXEL NSA325-v2) to an Asus Chromebox with Lubuntu 22.04 by adding to fstab:

192.168.1.14:/i-data/e6510fdf/nfs/KodiShare /nfs/Volume1 nfs rw,vers=3 0 0

But I noticed that I wasn't able to edit most of the files or folders which showed permission 501.

So I tried this:

sudo chmod u=rwx,g=rwx,o= /nfs/Volume1

Now I get "Permission Denied" if I try to open a file on the NAS. Also:

ls -l /nfs/Volume1

Now doesn't work unless I use sudo (pretty sure that wasn't necessary before). And then it still shows the files and folders unchanged with permission 501.

How can I make this work so that the NAS is always mounted and I am always able to edit the files and folders?

Any help much appreciated!