This is the mail archive of the
mailing list for the Cygwin project.
Re: ACL questions
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 28 Jan 2005 14:54:05 +0100
- Subject: Re: ACL questions
- References: <41FA3C1E.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Jan 28 06:20, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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/sec_acl.cc'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 mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html