ACL questions

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jan 28 14:19:00 GMT 2005


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



More information about the Cygwin mailing list