> On Thu, Apr 2, 2015 at 1:47 PM, Houder <hou...@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