Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Fri, 1 Oct 1999 07:57:53 -0400 From: Chris Faylor To: Corinna Vinschen Cc: cygdev Subject: Re: ntsec-patch11 Message-ID: <19991001075753.B629@cygnus.com> Mail-Followup-To: Corinna Vinschen , cygdev References: <37F47E16 DOT 2B9C312F AT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <37F47E16.2B9C312F@vinschen.de>; from Corinna Vinschen on Fri, Oct 01, 1999 at 11:25:42AM +0200 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 > > * 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]