This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Robocopy
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Fri, 3 Apr 2015 15:09:15 +0200
- Subject: Re: Robocopy
- Authentication-results: sourceware.org; auth=none
- References: <0216347cd127fa618050e7d72467a2e9 dot squirrel at webmail dot xs4all dot nl> <CADi7v6+Tp4fG-fRqbz-tLWaDOOzP5_JZoXs3RwpLcN1p2R6bzA at mail dot gmail dot com>
> 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