[cs631apue] "setfacl: .: Operation not supported" when create git repo

hao wu hwu9 at stevens.edu
Wed Nov 6 22:17:40 EST 2013


Thanks. I have done the following testing:

1. getfacl config    //ok
# file: config
# owner: hwu9
# group: student
user::rw-
group::---
mask::rwx
other::---

//strace output
getxattr("config", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff\x10\x00\x07\x00\xff\xff\xff\xff
\x00\x00\x00\xff\xff\xff\xff", 132) = 36


2.setfacl -m u::w config   //fail
setfacl: config: Operation not supported

//strace output
getxattr("config", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff\x10\x00\x07\x00\xff\xff\xff\xff
\x00\x00\x00\xff\xff\xff\xff", 132) = 36
setxattr("config", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x02\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff\x10\x00\x00\x00\xff\xff\xff\xff
\x00\x00\x00\xff\xff\xff\xff", 36, 0) = -1 EOPNOTSUPP (Operation not
supported)



3.nfs4_getfacl config    //fail
Operation to request attribute not supported.

//strace output
stat("config", {st_mode=getxattr("config", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff\x10\x00\x07\x00\xff\xff\xff\xff
\x00\x00\x00\xff\xff\xff\xff", 132) = 36
S_IFREG|0600, st_size=66, ...}) = 0
getxattr("config", "system.nfs4_acl", 0x0, 0) = -1 EOPNOTSUPP (Operation
not supported)


4.nfs4_setfacl -a  A::hwu9 at linux-lab.cs.stevens.edu:RW config  //fail
Operation to request attribute not supported.
Failed to instantiate ACL.

//strace output
getxattr("/home/hwu9/cs631/git.sws/config", "system.nfs4_acl", 0x0, 0) = -1
EOPNOTSUPP (Operation not supported)


any ideas?

Thanks,
-Hao


On Tue, Nov 5, 2013 at 7:49 PM, Jan Schaumann <jschauma at stevens.edu> wrote:

> hao wu <hwu9 at stevens.edu> wrote:
>
> > $setfacl -R -m user:hwu9:rwx .
>
> The home directories are on NFS, so we actually need to use
> nfs4_setfacl(1) here.  Review the manual page and post here when you've
> figured out the correct syntax, please.
>
> Thanks!
> -Jan
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20131106/aae4b2b7/attachment.html>


More information about the cs631apue mailing list