A new Win32 header problem

Corinna Vinschen corinna.vinschen@cityweb.de
Sat Apr 10 13:11:00 GMT 1999


Corinna Vinschen wrote:
> 
> Anders Norlander wrote:
> >
> > Geoffrey Noer wrote:
> > > [...]
> > > On Thu, Apr 01, 1999, Corinna Vinschen wrote:
> > > [...]
> > > > After patching this, the new code is nevertheless not able, to write the new
> > > > security descriptor for the new owner with `BackupWrite()' in any case.
> > > > Strange: If I'm logged in as `administrator(500)', writing the owner sid for
> > > > `administrator(500)' or `administrators(544)' is possible, but writing a sid
> > > > for another user (e.g. `admin(1010)' which is member of `administrators(544)', too)
> > > > is impossible.
> > > > This was not the case before the winsup-version with the new windows header files!
> > > > Once again: This error happens in `chown()' _without_ my patches!
> > I don't know what causes this, what does GetLastError() say?
> 
> The error code from BackupWrite() is 1307, aka ERROR_INVALID_OWNER:
>         "This security ID may not be assigned as the owner of this object."

Has anybody found a solution for this problem?

Corinna



More information about the Cygwin-developers mailing list