Hi all,
I have a zfs-based server(FreeBSD 11) and I want use NFSv4 on it. I used access list on shared folder and set permission on them, but clients that have write permission can't write on the share.
my export file is:
I added a user named test on both client and server(their UIDs are different).
The file permission is:
/etc/rc.conf on server is:
etc/rc.conf on client is:
The mount command on client is:
My problem is:
I have not write permission on share1.
I have a zfs-based server(FreeBSD 11) and I want use NFSv4 on it. I used access list on shared folder and set permission on them, but clients that have write permission can't write on the share.
my export file is:
Code:
/pool/share1 -sec=sys -network 0.0.0.0 -mask 0.0.0.0
V4: /pool
The file permission is:
Code:
#getfacl /pool/share1
# file: /pool/share1
# owner: root
# group: wheel
user:test:rwxp----------:-------:allow
Code:
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"
rpcbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
etc/rc.conf on client is:
Code:
nfsuserd_enable="YES"
nfscbd_enable="YES"
hostid_enable="NO"
The mount command on client is:
Code:
mount_nfs -o nfsv4,sec=sys x.x.x.x:/ mnt/
My problem is:
I have not write permission on share1.