X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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: <CADi7v6+Tp4fG-fRqbz-tLWaDOOzP5_JZoXs3RwpLcN1p2R6bzA@mail.gmail.com>
References: <0216347cd127fa618050e7d72467a2e9.squirrel@webmail.xs4all.nl>    <CADi7v6+Tp4fG-fRqbz-tLWaDOOzP5_JZoXs3RwpLcN1p2R6bzA@mail.gmail.com>
Date: Fri, 3 Apr 2015 15:09:15 +0200
Subject: Re: Robocopy
From: "Houder" <houder@xs4all.nl>
To: cygwin@cygwin.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 <houder@xs4all.nl> 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

