X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:in-reply-to:references:date:subject :from:to:mime-version:content-type:content-transfer-encoding; q= dns; s=default; b=KeTh1Qp48BuAbsWxfBJqIapAJm2SO0rb5COj1+P+8a+D36 3/x0JIvWYChFX8ZrZlCbptNvUxDwwwR8kBNj5zkWNh4OTLZR/P0IbpPWStkqbyWI /5x8R4J7ZkIglgSAA37xH14hB+dmD192ET9X3umpCLqnPLqHP/ouNMTfCJtAI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:in-reply-to:references:date:subject :from:to:mime-version:content-type:content-transfer-encoding; s= default; bh=V9wUnxDnQPfD76z6EI4fitUK2nA=; b=pWHQ4XmkL33RMA+mOxKv gZdhagJjsHHf3za/3owdYY9BMGo/LpDP6AalIRBSX83ZmPBZJ2wdPTA2iroM596J azPaEnrlSBUwgTTcwn1zjaFBmzSKa/QrbBK+ygTk8lKXX1fH5gDI69XXNBxY1Ia/ T4EzD+QB2gWJkUroqBCQBuU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: lb3-smtp-cloud6.xs4all.net Message-ID: <20ecda71a8f3b33a7f01bfed4cb744c0.squirrel@webmail.xs4all.nl> In-Reply-To: References: <0216347cd127fa618050e7d72467a2e9 DOT squirrel AT webmail DOT xs4all DOT nl> Date: Fri, 3 Apr 2015 15:09:15 +0200 Subject: Re: Robocopy From: "Houder" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes > On Thu, Apr 2, 2015 at 1:47 PM, Houder wrote: >> 2015/04/02 19:13:56 ERROR 5 (0x00000005) Copying File E:\Cygwin\home\jvdwater\.bash_history >> Access is denied. >> Waiting 30 seconds... Retrying... >> New File 689 .bash_history > > ROBOCOPY is very reliable and it's actually what I use to have folks > "install" Cygwin on our enterprise systems (i.e. I setup a master > replica of the install and they ROBOCOPY it down to their machines). > It works without fail unless they have a files in use. If you throw > in /R:0, do you see any other files with access denied? Might be a > good datapoint to confirm it's everything and not something specify > about bash_history. As the tar command was up to the job, I started to think ... At some time in past, Corinna told this forum that Cygwin enabled the SeBackup and SeRestore privileges ... As I remembered that, I decided to take a second look at the output of robocopy /? See my reply to Corinna's reaction. Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple