delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/10:51:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 25 Mar 2009 16:51:04 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: wget -k downloading to shares fails with seemingly spurious "permission denied" error
Message-ID: <20090325155104.GB12738@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <47vfs4dac6vvqa6f4mfivec8eaouv7uh5q AT 4ax DOT com> <3ddks4tqteaeq43gs7sjonhf41pei8q73e AT 4ax DOT com>
MIME-Version: 1.0
In-Reply-To: <3ddks4tqteaeq43gs7sjonhf41pei8q73e@4ax.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mar 25 13:47, Barry Kelly wrote:
> Can anyone else at all confirm the behaviour I am seeing, or is it just
> me? (Or is Larry just blessed? :)

No, I can reproduce it using an XP client and a remote directory on my
2K8 domain controller.  Examining the strace output from wget, you can
see that wget tries to delete the file while still having a file mapping
open.  That's the problem.  Windows doesn't allow to delete remote files
with an open file mapping.  I don't know any way around that.

In theory, wget would have to be fixed to not do that on Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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