This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: security.cc and sec_acl.cc (ntsec, inheritance and sec_acl)
Corinna Vinschen wrote:
>
> On Mon, Dec 16, 2002 at 01:26:31PM -0500, Pierre A. Humblet wrote:
> > ... and thus it may merge entries for the current owner and
> > for the default owner (creator_owner). Ditto for groups.
>
> What? How should it? It only merges entries with the same uid/gid
> and with the same type (USER/GROUP). It won't never merge a user
> with the creator_owner entry.
&& (pos = searchace (aclbufp, nentries,
aclbufp[i].a_type | ACL_DEFAULT,
(aclbufp[i].a_type & (USER|GROUP))
? aclbufp[i].a_id : -1)) >= 0
For non USER|GROUP it sets uid to -1, which will match anything.
Tonite (here) I will reverify everything and put all the diffs in a single
file as recommended. You can have a second look in the morning.
Pierre