This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A new Win32 header problem




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