This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ACLs getting reset after gunzip
- 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
- Date: Mon, 24 Feb 2003 10:54:31 +0000 (GMT Standard Time)
- Subject: Re: ACLs getting reset after gunzip
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/