delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |