Patch, Version 4: Unix-like permissions on objects [was Re: b21 -- various small issues]

Corinna Vinschen
Sun May 2 05:52:00 GMT 1999

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 set_process_privileges()

the call to AdjustTokenPrivileges() behave different:

On setting SE_RESTORE_NAME and SE_BACKUP_NAME rights, GetLastError()
	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?


More information about the Cygwin-developers mailing list