www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/04/06/09:47:02

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <370A078C.C3F3C66A@cityweb.de>
Date: Tue, 06 Apr 1999 15:09:32 +0200
From: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Anders Norlander <anorland AT hem2 DOT passagen DOT se>
CC: Geoffrey Noer <noer AT cygnus DOT com>, cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: A new Win32 header problem
References: <19990331230036 DOT A3503 AT cygnus DOT com> <19990331214352 DOT A32155 AT cygnus DOT com> <3703498C DOT 72131F58 AT cityweb DOT de> <19990401232538 DOT A776 AT cygnus DOT com> <37064255 DOT C21C87A0 AT hem2 DOT passagen DOT se>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019