delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/05/02/08:53:10

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: <372C4997.CEA53B43@cityweb.de>
Date: Sun, 02 May 1999 14:48:23 +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: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Patch, Version 4: Unix-like permissions on objects [was Re: b21 --
various small issues]
References: <19990420200651 DOT B16325 AT cygnus DOT com> <Pine DOT SUN DOT 3 DOT 93 DOT 990421001548 DOT 4714F-100000 AT modi DOT xraylith DOT wisc DOT edu> <19990430084531 DOT B598 AT cygnus DOT com> <3729BD53 DOT 1C8A7FE8 AT cityweb DOT de> <19990430103351 DOT B10725 AT cygnus DOT com> <372BA0F8 DOT 6D84A26D AT cityweb DOT de>


Corinna Vinschen wrote:
> Hi Chris,
> 
> I have rewritten my security change. The remaining problem with chown
> is solved, it was a stricter security behaviour in SP4 vs SP3, and not
> Anders headers, as I suspected (sorry Anders!)

There's a new problem: In the same code

	security.cc: set_process_privileges()

the call to AdjustTokenPrivileges() behave different:

On setting SE_RESTORE_NAME and SE_BACKUP_NAME rights, GetLastError()
returns
	ERROR_SUCCESS in winsup-990303 and
	ERROR_NOT_ALL_ASSIGNED in winsup-990430.
As a result, it's impossible for admins, to chown to another user in
winsup-990430 :-(

Is anybody willing to help?

Corinna

- Raw text -


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