www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/31/04:53:27

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
Date: Tue, 31 Jul 2001 10:53:20 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin
Message-ID: <20010731105320.Y490@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: Corinna Vinschen <vinschen AT redhat DOT com>,
cygwin-developers AT sources DOT redhat DOT com
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> <3B65A2B8 DOT 90702 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B65A2B8.90702@ece.gatech.edu>; from cwilson@ece.gatech.edu on Mon, Jul 30, 2001 at 02:08:56PM -0400

On Mon, Jul 30, 2001 at 02:08:56PM -0400, Charles Wilson wrote:
>   I have not been explicitly adding an 
> "extra" ACE for group:18: (SYSTEM) which is automatically added for new 
> directories under the CVS-cygwin.)

I don't know why that happens. I have tried it and it seems to
be created by the `CreateFile' call already. But it would be too
easy if that would happen always.

I have found two cases on my system which _seem_ to be identical
but in one case, a SYSTEM ACE is created and in the other case not.

It's a mystery. The problem is that the base routine in security.cc
(alloc_sd) can't know if that's a superfluous just created ACE or
if it's an ACE explicitly created by the user. For that reason I
fear it's somewhat dangerous to drop it.

Comments?

> I fear this problem may hit more folks than just me, when 1.3.3 is 
> released and Corinna's change from 7/9/2001 takes effect.  Her change 
> will prevent *future* problems, but as I demonstrated, can cause 
> problems under dirs created using earlier kernels...
> 
> OTOH, it only affects W2K/NTFS users...

AFAICS, the problem was already existant for a long time. My
changes prevent newly created directories to propagate the
problem into the future. It just can't revert the wrong setting
from already created dirs.

Perhaps a script would be a good idea. Personally I'm pretty sure
that most users will never see that problem, though...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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