delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/09/12:16:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 9 Apr 2003 12:12:48 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with database engine on cygwin
Message-ID: <20030409161248.GJ5879@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030409004727 DOT GF26203 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0304082320380 DOT 8179-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0304082320380.8179-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Tue, Apr 08, 2003 at 11:24:29PM -0400, Igor Pechtchanski wrote:
>On Tue, 8 Apr 2003, Christopher Faylor wrote:
>>On Tue, Apr 08, 2003 at 07:28:21PM -0400, Igor Pechtchanski wrote:
>>>It may be more complicated than that.  unlink() calls DeleteFile(), and
>>>who knows what happens in the guts of it.  For instance, I'm having a
>>>permission problem with deleting files on a Samba share from inside of
>>>applications (but no problems deleting them from the shell).  I've
>>>traced it as far as the DeleteFile() call, which fails in the former
>>>case and succeeds in the latter.  Go figure...
>>
>>The latest version of cygwin should try to delete files via CreatFile
>>before resorting to DeleteFile.  Does CreateFile fail also?  cgf
>
>Did the same changes propagate to directories?  Because I'm actually
>having this problem with removing CVS lock directories.  Updating to
>cygwin-1.3.22 didn't help.

No.  You can't, AFAIK, use CreateFile to unlink directories.  But then,
you can't, AFAIK, use DeleteFile to unlink them either.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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