Setfacl - Operation not supported
Machin, Glenn D
GMachin at sandia.gov
Tue Aug 1 12:28:43 EDT 2006
I'm trying to set an acl from an nfs4 client and I get the message
"Operation Not supported"
I can run the same command on the server to the filesystem that is
exported and it works. I have the "acl" option set in /etc/exports.
What am I missing?
Another unusual feature is after running the setfacl locally, when I do
a getfacl on the NFS mounted file I do not see the acl change.
Any help would be appreciated.
Glenn
------------------------------------------------------------------------
---------------------------
Client and server are the same system
Server:
[root at testnfs4 gmachin]# mount
/dev/sda2 on / type ext3 (rw,acl)
/dev/sdb1 on /export type ext3 (rw,acl)
/dev/sda5 on /var type ext3 (rw,acl)
/export/proj on /var/DFS/dce.sandia.gov/fs/proj
type none (rw,bind)
testnfs4.sandia.gov:/ on /nfspilot type nfs4
(rw,hard,intr,proto=tcp,rsize=32768,wsize=32768,sec=krb5i)
/etc/exports on testnfs4:
/var/DFS
*(rw,fsid=0,insecure,no_subtree_check,acl)
/var/DFS
gss/krb5(rw,fsid=0,insecure,no_subtree_check,acl)
/var/DFS
gss/krb5i(rw,fsid=0,insecure,no_subtree_check,acl)
/var/DFS
gss/krb5p(rw,fsid=0,insecure,no_subtree_check,acl)
/var/DFS/dce.sandia.gov/fs/proj
*(rw,insecure,no_subtree_check,acl,nohide)
/var/DFS/dce.sandia.gov/fs/proj
gss/krb5(rw,insecure,no_subtree_check,acl,nohide)
/var/DFS/dce.sandia.gov/fs/proj
gss/krb5i(rw,insecure,no_subtree_check,acl,nohide)
/var/DFS/dce.sandia.gov/fs/proj
gss/krb5p(rw,insecure,no_subtree_check,acl,nohide)
[gmachin at testnfs4 ~]$ setfacl -m u:drwachd:rx
/export/proj/nfs4tests/acl-tests
Setfacl on NFS FS:
[gmachin at testnfs4 ~]$ setfacl -m u:drwachd:rx
/nfspilot/dce.sandia.gov/fs/proj/nfs4tests/acl-tests
setfacl:
/nfspilot/dce.sandia.gov/fs/proj/nfs4tests/acl-tests: Operation not
supported
[gmachin at testnfs4 ~]$ getfacl
/export/proj/nfs4tests/acl-tests
getfacl: Removing leading '/' from absolute path names
# file: export/proj/nfs4tests/acl-tests
# owner: gmachin
# group: gmachin
user::rwx
user:gmachin:r-x
user:drwachd:r-x
group::rwx
mask::rwx
other::r-x
Getfacl on PFS:
[gmachin at testnfs4 ~]$ getfacl
/var/DFS/dce.sandia.gov/fs/proj/nfs4tests/acl-tests
getfacl: Removing leading '/' from absolute path names
# file:
var/DFS/dce.sandia.gov/fs/proj/nfs4tests/acl-tests
# owner: gmachin
# group: gmachin
user::rwx
user:gmachin:r-x
user:drwachd:r-x
group::rwx
mask::rwx
other::r-x
Getfacl on the NFS file:
[gmachin at testnfs4 ~]$ getfacl
/nfspilot/dce.sandia.gov/fs/proj/nfs4tests/acl-tests
getfacl: Removing leading '/' from absolute path names
# file:
nfspilot/dce.sandia.gov/fs/proj/nfs4tests/acl-tests
# owner: gmachin
# group: gmachin
user::rwx
group::rwx
other::r-x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/nfsv4/attachments/20060801/a2f6edbd/attachment.htm
More information about the NFSv4
mailing list