1

I have add nfs4 acl for a directory in nfs client, but can not use "chown/chgrp" after add nfs4 acl, now I want to give up nfs4 acl, and back to original linux simple access control, how to ???

In standard linux acl, we can use setfacl -bn xxx file to remove all acl, and back to original access control, but I do not know how to do it by nfs4_setfacl...

Levin
  • 121
  • 4

1 Answers1

0

My solution will be as:

nfs4_getfacl <file> | nfs4_setfacl -X - <file>
kofemann
  • 4,626
  • 1
  • 25
  • 30