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).

link|improve this question
feedback

2 Answers

In addition to using chmod -a to remove access control entries individually (as @geekosaur suggested), there's also a brute-force option: chmod -N will remove all ACLs from a file or folder, and chmod -RN will do the same for a folder and its entire contents.

link|improve this answer
feedback

It's all bundled into the chmod command; take a look at the -a/+a/=a options in the manpage.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.