NFS shares accessible from Nautilus, but not from applications
Solution 1:
I finally worked out what the issue is - group permissions.
The files on the NAS server all have R/W/X permissions for a group called "nasusers" with id=1002.
This can be seen with a simple ls -la
in the folder on the server.
Doing the same command locally shows the group as "1002" because the group "nasusers" does not exist on the local client machine. To fix this I ran (locally on my client):
sudo groupadd -g 1002 nasusers
Running id
shows that my user is not a member of this group. To add myself to the group I ran (locally on my client):
sudo adduser james nasusers
Also, on the server I set the permissions of the shared files to 770, so owner and group have full permissions and others have none.
This has allowed me to open and save files from the NAS server from LibreOffice and the GIMP without errors.