ntsec-patch11

Chris Faylor cgf@cygnus.com
Fri Oct 1 04:55:00 GMT 1999


On Fri, Oct 01, 1999 at 11:25:42AM +0200, Corinna Vinschen wrote:
>_unlink now doesn't queue the file into the delqueue, if the last
>error was ERROR_ACCESS_DENIED because this return code won't change
>later if you don't have the permissions.

Thanks for this patch!  I've noticed this behavior and wonder if it is
responsible for an occasional "hang" report.

Committed.

cgf

>ChangeLog:
>==========
>
>Fri Oct 1 11:16:00  Corinna Vinschen  <corinna@vinschen.de>
>
>	* security.cc (alloc_sd): Corrected setting of
>	FILE_DELETE_CHILD.
>	(get_file_attribute): read ntea attributes only if
>	ntsec is disabled.
>	* syscalls.cc (_unlink): Don't queue file into delqueue
>	if DeleteFile returns ERROR_ACCESS_DENIED.
>[snip]


More information about the Cygwin-developers mailing list