Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Aug 17, 2023, 03:30 AM

Title: Mounting NFS shares from Synology
Post by: mahesh on Aug 17, 2023, 03:30 AM
Hello all, I'm brand new to Ubuntu (although I used to work in Unix years ago). I'm in the middle of replacing my Windows home computer with an Xubuntu installation, and am making pretty good progress. One thing I have to have on this workstation is access to the shares on my local Synology NAS, and I'm running into issues getting that working. I've created a user on the NAS that matches the username I'm logging into the workstation with, and have granted that user R\W permissions on the shares I'm trying to access. The NFS settings for my test share are set to allow access to any host on my local subnet, Squash is set to no mapping, Security is set to Sys, and I have enabled asynch, connections from non-privileged ports and access to mounted subfolder. I have created a mount-point (/mount) and am using this command to mount:

$ sudo mount <IP of NAS>:/volume1/NFSDemo /mount

This succeeds but when I try to access the mount point, I get permission denied. Looking at the mount point I can see that the permissions are set to 000 root root, although before I mounted the share, the perms were 775 root root. If I manually change the perms I can access the files in the share but that just doesn't seem right. Can someone advise me as to what I need to do to get this going? I want shares on the NAS to be secure but I need to be able to access them from software that will be running on this workstation.

Thanks!