Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 24 Feb 2003 10:54:31 +0000 (GMT Standard Time) From: Max Bowsher To: "Pierre A. Humblet" cc: cygwin AT cygwin DOT com Subject: Re: ACLs getting reset after gunzip In-Reply-To: <20030224025036.GA34736303@hpn5170x> Message-ID: X-X-Sender: mob22 AT imap DOT hermes DOT cam DOT ac DOT 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/