Hello,
I'm trying to run NFSv4 on a FreeBSD 8.1 machine:
My "/etc/rc.conf" looks like this:
The "/etc/exports" like this:
Server and client are the same machine. I do the mount via:
"mount" shows the following:
If I try to setfacl a file, this error occures:
"getfacl" says:
This is the process list:
How is it possible to use ACLs with NFSv4 under FreeBSD?
Thank you, Morfio
I'm trying to run NFSv4 on a FreeBSD 8.1 machine:
Code:
FreeBSD freebsdthorsten.rommerskirchen.roki 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Fri Jun 25 10:15:46 CEST 2010
[email]root@freebsdthorsten.rommerskirchen.roki[/email]:/usr/obj/usr/src/sys/GENERIC amd64
My "/etc/rc.conf" looks like this:
Code:
22 mountd_enable="YES"
23 nfs_client_enable="YES"
24 nfs_server_enable="YES"
25 nfsv4_server_enable="YES"
26 nfsuserd_enable="YES"
27 nfscbd_enable="YES"
The "/etc/exports" like this:
Code:
/server -maproot=root
V4: /
Server and client are the same machine. I do the mount via:
Code:
mount_newnfs 192.168.0.208:/server /mnt/server/
"mount" shows the following:
Code:
/dev/ad0s1a on / (ufs, NFS exported, local, acls)
devfs on /dev (devfs, local, multilabel)
192.168.0.208:/server on /mnt/server (newnfs)
If I try to setfacl a file, this error occures:
Code:
[root@freebsdthorsten /mnt/server]# setfacl -m u:thorsten:rwx bla
setfacl: bla: acl_get_file() failed: Operation not supported
"getfacl" says:
Code:
[root@freebsdthorsten /mnt/server]# getfacl bla
# file: bla
# owner: root
# group: wheel
user::rw-
group::r--
other::r--
This is the process list:
Code:
739 ?? Is 0:00.00 nfscbd: master (nfscbd)
741 ?? S 0:00.03 nfscbd: server (nfscbd)
459 ?? Ss 0:00.01 /usr/sbin/rpcbind
526 ?? Is 0:00.00 nfsuserd: master (nfsuserd)
528 ?? S 0:00.00 nfsuserd: slave (nfsuserd)
529 ?? S 0:00.00 nfsuserd: slave (nfsuserd)
530 ?? S 0:00.00 nfsuserd: slave (nfsuserd)
531 ?? S 0:00.00 nfsuserd: slave (nfsuserd)
545 ?? Is 0:00.00 /usr/sbin/mountd -e -r
552 ?? Is 0:00.02 nfsd: master (nfsd)
555 ?? S 0:00.04 nfsd: server (nfsd)
How is it possible to use ACLs with NFSv4 under FreeBSD?
Thank you, Morfio