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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/