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.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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




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