www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/30/13:55:03

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <3B6595E5.50806@ece.gatech.edu>
Date: Mon, 30 Jul 2001 13:14:13 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin
References: <996329431 DOT 27668 DOT ezmlm AT sources DOT redhat DOT com> <3B63432E DOT 6050309 AT ece DOT gatech DOT edu> <3B649305 DOT 2090302 AT ece DOT gatech DOT edu> <3B64C0A9 DOT 1080700 AT ece DOT gatech DOT edu> <3B64F567 DOT 6060304 AT ece DOT gatech DOT edu> <3B65835C DOT 9000001 AT ece DOT gatech DOT edu> <3B65A99B DOT B0634205 AT yahoo DOT com>

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019