<div dir="ltr"><div><br>Thanks. I have done the following testing:<br><br>1. getfacl config //ok<br># file: config<br># owner: hwu9<br># group: student<br>user::rw-<br>group::---<br>mask::rwx<br>other::---<br><br></div>
<div>//strace output<br>
</div><div>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<br>
<br><br>2.setfacl -m u::w config //fail<br>setfacl: config: Operation not supported<br><br></div>//strace output<br><div>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<br>
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)<br>
<br><br><br>3.nfs4_getfacl config //fail<br>Operation to request attribute not supported.<br><br></div><div>//strace output<br></div><div>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<br>
S_IFREG|0600, st_size=66, ...}) = 0<br>getxattr("config", "system.nfs4_acl", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)<br><br><br>4.nfs4_setfacl -a A::hwu9@linux-lab.cs.stevens.edu:RW config //fail<br>
Operation to request attribute not supported.<br>Failed to instantiate ACL.<br><br></div><div>//strace output<br></div><div>getxattr("/home/hwu9/cs631/git.sws/config", "system.nfs4_acl", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)<br>
<br>
<br></div><div>any ideas?<br><br></div><div>Thanks,<br></div><div>-Hao<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 7:49 PM, Jan Schaumann <span dir="ltr"><<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">hao wu <<a href="mailto:hwu9@stevens.edu">hwu9@stevens.edu</a>> wrote:<br>
<br>
> $setfacl -R -m user:hwu9:rwx .<br>
<br>
</div>The home directories are on NFS, so we actually need to use<br>
nfs4_setfacl(1) here. Review the manual page and post here when you've<br>
figured out the correct syntax, please.<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888">-Jan<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</div></div></blockquote></div><br></div>