Open bbcairway opened 3 weeks ago
One thing that stands out is that the line in the exports file does not contain acl
. NFSRODS requires that option always be set.
Is that export entry defined in the NFSRODS-specific exports file?
I've confirmed the following configurations work as intended.
# file: exports
/ *(rw,acl,sec=sys,no_root_squash)
sudo mount -o port=2050 localhost:/home/kory /mnt/nfsrods
# file: exports
/home/kory *(rw,acl,sec=sys,no_root_squash)
sudo mount -o port=2050 localhost:/home/kory /mnt/nfsrods
Given you mention there's a permission issue, I think all you need to do is make sure the acl
option is defined for each export entry.
On the client, some works for example :
sudo mount -t nfs -o vers=4.1,sec=sys,port=2050 192.168.0.170:/home/user1 /mnt/nfs_shared
be correct, butsudo mount -t nfs -o vers=4.1,sec=sys,port=2050 192.168.0.170:/ /mnt/nfs_shared
is succeed How sould I limit the use of the directory / and /home for client ?The nfs server config is
The nfs server exports is
/home/user1 *(rw)