Friday, January 18, 2008

chmod ACL removal

The command to recursively remove all ACLs from the files in the working directory and its subdirectories is:

sudo echo | sudo chmod -R -E ./*


leoninja said...

Great tip. Enjoying your blog... Where are you working currently?

leoninja said...

was just playing around w/ chmod... seems this does the same thing and is maybe faster...?

sudo chmod -R -N ./*

renderic said...

Any way to remove all NTFS ACL's (except time stamps) from a drive that is mounted in OS X?

Jerry Krinock said...

In response to leoninja, it looks like osxadmin's command is trying to display the ACLs as it removes them, or something like that. Anyhow, it doesn't work for me. But your simpler command does. Or, in general,

sudo chmod -R -N /path/to/whatever