Hi Guys,
Just like to explain scenario to you and if this is the default behaviour or whether I have 'locked myself out' and what options I have?
I run robocopy on shared data using /COPYALL e.g.:
robocopy.exe \\source \\target *.* /E /V /R:1 /W:1 /MT:128 /ZB /LOG:C:\log.txt /TEE
All copies fine, except one folder where someone had inheritance blocked and locked down just to them. I take ownership of the folder at source and reset perms so my account has full access.
I rerun my robocopy (I have also tried with /SEC and no extra switches i.e. without /COPYALL) for a second time, but get:
New File 43008 [doc name]
date/time ERROR 5 (0x00000005) Copying File [path/name]
Access is denied
ERROR: RETRY LIMIT EXCEEDED
As there is no way for me to sort the permisisons or know which folders will be locked like this I won;t have the cange to clean them up first. Are my incremental/second copies going to be doomed to failure?
Thank You