Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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