delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/10/01/07:56:07

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <cgf AT cygnus DOT com>
To: Corinna Vinschen <corinna AT vinschen DOT de>
Cc: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: ntsec-patch11
Message-ID: <19991001075753.B629@cygnus.com>
Mail-Followup-To: Corinna Vinschen <corinna AT vinschen DOT de>,
cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <37F47E16 DOT 2B9C312F AT vinschen DOT de>
Mime-Version: 1.0
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  <corinna AT vinschen DOT 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]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019