Mounting NFS shares, getting there but still need help

What I've managed so far is to mount the shares to the correct user folder (/home/foo/whaterver), but I can't read anything and unless I sudo (sudo cd, sudo ls, etc...which is super annoying too) and I can't access it from KDE.

In the terminal I get Permission Denied. In Dolphin I get "Could not enter /home/foo/whatever .

I'm not sure what I'm missing at this point. Can anyone guide me?



Server: TrueNAS Scale 25.10 Client: FreeBSD 14.3
 
Please show us
  • ls -ld /home/foo/whaterver after the NFS share has been mounted,
  • the mount command
  • the /etc/exports file from
drwxrwx--x+ 13 user wheel 20 Nov 9 00:30 /home/user/foo

in /etc/fstab
192.168.50.50:/mnt/foo/whatever /home/user/whatever nfs nfsv4,rw 0 0

from exports
"mnt/foo/whatever/"\
* (sec=sys, rw, anonuid=1000, anonig=0, insecure, no_subtree_check)
 
These information don't add up.

ls -ld foo and getfacl foo on the client show different "owner" and "group" ( user:wheel , root:root ).

Also, why is the ACLs information of "foo" in POSIX.1e and not nfsv4acls [1] ( mount(8) "acls" ), despite being mounted by fstab with the "nfsv4" option?

What does on TrueNAS ls -ld foo and getfacl foo show. Please redact names matching the same owner and group, not arbitrary.

[1]
Code:
# file: /tmp/Dir
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:-------:allow
            group@:r-x---a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow
 
These information don't add up.

ls -ld foo and getfacl foo on the client show different "owner" and "group" ( user:wheel , root:root ).

Also, why is the ACLs information of "foo" in POSIX.1e and not nfsv4acls [1] ( mount(8) "acls" ), despite being mounted by fstab with the "nfsv4" option?

What does on TrueNAS ls -ld foo and getfacl foo show. Please redact names matching the same owner and group, not arbitrary.

[1]
Code:
# file: /tmp/Dir
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:-------:allow
            group@:r-x---a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow
drwxr-xr-x 7 xxx xxx 7 Oct 27 20:47 /mnt/foo
# file: mnt/foo
# owner: xxx
# group: xxx
user::rwx
group::r-x
other::r-x

I think I solved the issue, I've managed to mount and change files by swapping the Maproot User around (to some random and back to what I wanted), so far seems to work. Probably a bug in TrueNAS Scale.
 
Back
Top