advapi32: Report world-access ownership by default for registry objects (try 2).

Alexandre Julliard julliard at
Wed Feb 13 09:18:25 CST 2013

"Erich E. Hoover" <ehoover at> writes:

> The attached patch fixes an issue where the Opera installer expects
> registry keys to return ownership information (Bug #32904), concluding
> the cleanup of [Get|Set]NamedSecurityInfo.  This patch addresses the
> issue by ensuring that NULL owner and group information is never
> returned for registry keys and instead returns the World SID (S-1-1-0)
> when this information is unavailable, which is sufficient to keep the
> Opera installer from encountering an error.  The included test shows
> that this behavior is essentially the case for system keys on Windows,
> though the Administrators SID is returned instead.  Since
> GetNamedSecurityInfo historically returned the World SID, and several
> other routines use it as well) I've opted to use the World SID for
> now.

We should do the same as Windows unless there's a very good reason to be

Alexandre Julliard
julliard at

More information about the wine-devel mailing list