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: win dirs don't handle lack of inherited rule(?): getfacl + tar dir Warning: Cannot acl_to_text: Invalid argument


On Mar 15 06:25, Brian Inglis wrote:
> On 2019-03-13 05:34, Corinna Vinschen wrote:
> > Per POSIX, the normal acl (ACL_TYPE_ACCESS) and the inheritance acl
> > (ACL_TYPE_DEFAULT) are two separate lists.  So we have the
> > ACL_TYPE_ACCESS with 9 entries and the ACL_TYPE_DEFAULT with 0 entries.
> > 
> > And while empty ACL_TYPE_DEFAULT acls are valid per POSIX, the Cygwin
> > function creating the text representation for an acl didn't allow
> > empty acls.
> > 
> > I pushed a patch and uploaded new developer snapshots to
> > https://cygwin.com/snapshots/
> 
> In my experience no DACLs results in no POSIX permissions for Cygwin programs,
> although Explorer and some other Windows programs can see and read them.

I didn't say "no DACL".  The DACL is present, there's just no inheritable
entry in there and that's no problem for Cygwin.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature


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