This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin
Earnie Boyd wrote:
> Charles Wilson wrote:
>
>>
>>P.S. Anybody know a good way of programmatically removing ACE's for
>>"Administrator" and "Administrators" from every file/dir in a tree,
>>*without* using that stupid inheritance property?
>>
>
>
> Uhm, the normal win32 file manager can do it. Right click -> Properties
> -> Security -> Permissions.
"programmatically". I have over 25,000 files and 1,500 subdirectories
in my build tree. I *really* don't want to have to use a GUI on all
those by hand.
It looks as though this will work:
setfacl -d g:544 fn
setfacl -d u:500 fn
setfacl -d d:g:544 fn
setfacl -d d:u:500 fn
or
setfacl -d g:544,u:500,d:g:544,d:u:500 fn
*This* I can put in a script.
--Chuck