Mac – the Mac terminal command to remove ACL

aclmacterminal

I'm trying to find the terminal command on a Mac to remove ACL to fix user permissions on a folder that gives an error code when I try to copy it (error code -41).

Best Answer

Using chmod -a allows one to remove access control entries individually (as @geekosaur suggested).

But if you are looking to remove all ACLs from a file or folder, the solution is to use the brute-force option: chmod -N which removes all access control entries for a file or folder.

chmod -RN will do the same recursively for a folder and its entire contents.

Related Question