I have a Qnap server containing shared mounts for my win10 and Ubuntu 20.04 clients. Strange things do happen which Ithink are caused by wrong permissions but I am not sure of that. Qnap uses NFS v4 for Ubuntu and Samba for windows. I'll describe the problems on my Ubuntu client for the rest of this thread.
This works ok, I use the NFS network shares for all my work, I can read, modify and delete files and that was ok until I started to use visual studio code (vscode). When I start a bash shell and start `code` to start vscode it starts ok. When I `cd /media` everything is ok, but when I `cd /media/i` (the local mount point of an NFS file share) I get the error
Code:
cannot open path of the current working directory: Permission denied
The same happens to atom I found out later and some other programs like remarkable, but not all. Spyder works ok as does Pinta. The /etc/fstab line for mountpoint /media/i is:
Code:
tinctoris:/files/files /media/i nfs auto 0 0
The permissions of /media/i are:
Code:
drwxrwxrwx 7 root root 4096 mei 12 04:09 i
and the permission of tinctoris:/files/files:
Code:
drwxrwxrwx 7 admin administrators 4.0K 2020-05-12 04:09 files/
Is there any reason while programs like code, atom and remarkable cannot run because of permissions? Is it a permissions problem? Any help will be greatly appreciated.
Bookmarks