This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ntsec-patch11
- To: Corinna Vinschen <corinna at vinschen dot de>
- Subject: Re: ntsec-patch11
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 1 Oct 1999 07:57:53 -0400
- Cc: cygdev <cygwin-developers at sourceware dot cygnus dot com>
- References: <37F47E16.2B9C312F@vinschen.de>
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]