Sunday, February 16, 2014

zfs acl management

You can view the existing acls on zfs filesystem using below command

#ls -Vd DirectoryName

To add acl

#chmod -R A0+user:odeas:rwx:allow DirectoryName

To delete acl

#chmod -R A0- DirectoryName

where 0 is the acl ID

-R flag is for recursive permissions

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.