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