I want to set acl as a normal user. Fellow is my operation:
attr set sys.acl=u:test:r nnnn
error: unable to set attribute in file/directory /eos/home/nnnn: Unable to set attribute /eos/home/nnnn
(errc=1) (Operation not permitted)
attr set user.acl=u:test:r nnnn
error: unable to set user.acl - the file/directory does not evaluate user acls (sys.eval.useracl is undefined)!
(errc=22) (Invalid argument)
attr set sys.eval.useracl=1 .
error: unable to set attribute in file/directory /eos/hxmt/home/niejy/test: Unable to set attribute /eos/hxmt/home/niejy/test
(errc=1) (Operation not permitted)
And I set sys.acl as root, also give same error. What’s wrong with my operation?
Thanks。