This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inheriting parent ACLs?


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]