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: ACL questions

On Jan 28 06:20, Eric Blake wrote:
> Hash: SHA1
> Several places in the coreutils testsuite died because new directories in
> cygwin have 7 ACL designations (user, group, other, mask, default user,

That's a negligible problem of the coreutils testsuite.

> Could this be a bug in cygwin/'s getacl() for creating directory
> default ACLs that are no different from the owner's permissions when
> parsing the Windows permissions?  Or is it really valid behavior that all
> cygwin directories start life with default ACL entries, in which case
> either the coreutils testsuite needs to account for the '+' in the mode
> (or else patch `ls' to treat 7 ACL entries on directories, with the 3
> default entries matching the corresponding directory owner permissions, as
> normal and not extended access)?

That happens in alloc_sd().  The idea is to have a SD which allows to
inherit the POSIX-like permissions to newly created files and subdirs
in the directory.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

Unsubscribe info:
Problem reports:

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