delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/23/16:45:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Thu, 23 Sep 2004 16:45:26 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Gabe Rosenhouse <gabriel DOT i DOT r AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Inheriting parent ACLs?
In-Reply-To: <e9686dd604092311424a08a8d6@mail.gmail.com>
Message-ID: <Pine.GSO.4.61.0409231643310.2707@slinky.cs.nyu.edu>
References: <e9686dd604092311424a08a8d6 AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 23 Sep 2004, Gabe Rosenhouse wrote:

> Hello.  I have a couple questions regarding
>
> > Windows Explorer will inherit the permissions of the
> > parent directory by default, whereas Cygwin will always create a new set
> > of ACLs (or, at least, I haven't found a way to make Cygwin directories
> > inherit the parent's ACLs).
>
> from the recent thread "Re: Login behaviour oddities: won't run
> .profile" (http://sources.redhat.com/ml/cygwin/2004-09/msg00966.html)
>
> Is this behavior a feature or a bug?

It's a Windows (or, rather, NTFS) feature.

> Is there a global setting to cause every file and directory created in
> Cygwin to simply inherit the Windows ACL of its parent directory?

No.
	Igor
P.S. If you use only Windows tools to create files and directories, they
should always inherit the parent directory permissions, but check that.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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