Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 24 Feb 2003 10:54:31 +0000 (GMT Standard Time)
From: Max Bowsher <maxb@ukf.net>
To: "Pierre A. Humblet" <pierre.humblet@ieee.org>
cc: cygwin@cygwin.com
Subject: Re: ACLs getting reset after gunzip
In-Reply-To: <20030224025036.GA34736303@hpn5170x>
Message-ID: <Pine.WNT.4.44.0302241049260.1084-100000@pcchem109.chem.pwf.cam.ac.uk>
X-X-Sender: mob22@imap.hermes.cam.ac.uk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 23 Feb 2003, Pierre A. Humblet wrote:

> On Sun, Feb 23, 2003 at 05:59:30PM -0800, Jonathan Levine wrote:
>
> > I'm having a problem with cygwin's g(un)zip.exe and NTFS ACLs.
>
> Jonathan,
>
> Cygwin attempts to emulate Posix. Thus when it creates a file
> it also creates an ACL with the permissions for the owner, group
> and other (everyone).
> It does not pay attention to the inheritance of the directory,
> and it sets a bit in the file acl to prevent inheritance
> propagation, which is the Window default.

Sounds like he just doesn't want/need ntsec for his uses of Cygwin.
I sympathize.

Jonathan: Set CYGWIN=nontsec as an environment variable for your user.
(Note that if you run certain things like sshd, ntsec must be on for them.
- so either don't set it off in the all users environment, or make sure to
explicitly set CYGWIN via cygrunsrv when installing services that need to
change user context.)

Max.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

