Re: Remove all ACL's in a directory

LuKreme <kremels-/[email protected]>
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
On 27 Oct 2011, at 15:16 , Richard Peskin wrote:

> chmod -R -a#  0 [directory path] " (where 0 is a possible ACL number id), but this doesn't work. chmod -a# 0 filename works for a single file. PErhaps I need a script to do this?

from man chmod

   -N      Removes the ACL from the named file(s).

chmod -RN . 

should remove all ACLs from the current folder and all files/folders under it.

(this is nearly always a bad idea)

-- 
"You're just impressed by any pretty girl who can walk and talk." "She
doesn't have to talk."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.