Yet another NFS Permissions Issue!...

felippe

Dabbler
Joined
Jan 26, 2021
Messages
23
Hello,

I am having some permissions issues when accessing the shared dataset on the TrueNAS (12.0-U3) server.

The NFS export:

Code:
# cat /etc/exports
/mnt/data/share -alldirs -mapall="valentin":"valentin" -network 192.168.2.0/24


The dataset permissions:

Code:
root@truenas[~]# getfacl /mnt/data/share
# file: /mnt/data/share
# owner: valentin
# group: valentin
            owner@:rwxpDdaARWcCos:fd-----:allow
            group@:rwxpDdaARWc--s:fd-----:allow
         everyone@:--------------:fd-----:allow


The client machine is a FreeBSD ThinkPad.

Mounting the NFS share:

Code:
root@x61s:/home/valentin # mount nas.voica.lan:/mnt/data/share /mnt/share


The mount point permissions (excerpt):

Code:
root@x61s:/home/valentin # ls -l /mnt/share
total 383
-rwxrwx---    1 valentin  valentin  14340  8 Jun 08:01 .DS_Store
-rwxrwx---    1 valentin  valentin      0 28 May 10:42 .goutputstream-ELF930
drwxrwx---    4 valentin  valentin      4 10 Jun 15:14 .Trash-1001
drwxrwx---    6 valentin  valentin      6  9 Jun 18:50 3D Print
drwxrwx---   22 valentin  valentin     28 31 May 22:42 Archives
drwxrwx---    6 valentin  valentin      7 28 May 12:58 Arduino

[...]


No problems with opening a LibreOffice file, but after editing it, when trying to save the file, I get the error:

2021-06-10-151031_301x132_scrot.png


After clicking the "OK" button, another error:

2021-06-10-151200_491x122_scrot.png


Same problem if I try to save the document with a diffrenet name.

Also strange behavior when moving, copying, deleting files. I get permission errors when moving files, after clicking the "Try again" button, the files are moved.

I have deleted the NFS share and re-add it, played with all possible dataset permission combinations, I've run out of ideas!...

I've been trying to fix these issues for the past couple of days, it drives me nuts.
 
Top