Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Can I do any damage to files if I remove ACLs from them using something like

chmod -RN /directoryWithABunchOfFiles

What is the purpose of these ACL attributes?

share|improve this question
1  
ACLs usually are defined for a reason, so removing them might not be the best idea. In order to be able to help you, can you please be a bit more specific about which files/directories you are looking at and why you want to remove ACLs? –  patrix Feb 4 '12 at 9:50

1 Answer 1

It depends on the purpose of the file you are removing them from. Remove them from system files, and you may find a world of pain if you do it wrong or remove from the wrong file. Your own files, less of a problem.

ACLs are a way of extending the normal permissions system that is used to control access to a file/folder. Ordinarily the permissions system works by explicitly allowing either read, write or execute permissions against the owner, members of the same group, and other people. An ACL allows you to extend that by providing exceptions and additions to these normal operations, so a file might be writable by the owner, readable by members of the same group (say Users), but not accessible to anyone else. However you could drop an ACL in that allowed user Bob write access, even though the standard permissions should only allow him read access through his User grown membership.

share|improve this answer
1  
For a big world of pain, try removing ACLs from a Time Machine backup... –  patrix Feb 4 '12 at 12:12

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.