This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ntsec-patch11


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]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]