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 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> <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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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