delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/24/05:55:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <maxb AT ukf DOT net>
To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
cc: cygwin AT cygwin DOT 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 AT imap DOT hermes DOT cam DOT ac DOT uk
MIME-Version: 1.0

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/

- Raw text -


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