Mail Archives: cygwin-developers/1999/04/06/09:47:02
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."
>
> Regards,
> Anders
Regards,
Corinna
- Raw text -