I’m using rClone on Windows and this is what is happening. I’m synchronizing local folders to a remote local network disk. I’m using a simple BAT file that has this syntax:
.\rclone-v1.41-windows-amd64\rclone sync “C:\Users\XXXX\Documents” “Z:\Backup\XXXX\Documents” -v --log-file .\rclone-%today%.log
The first time the bat is executed it works just fine. The second time the bat is executed, it fails while trying to access the JUNCTION folders (this error is not reported the first time the BAT is executed)
2018/04/28 12:32:00 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Modify window is 100ns
2018/04/28 12:32:00 ERROR : My Pictures: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Pictures: Access is denied.
2018/04/28 12:32:00 ERROR : My Videos: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Videos: Access is denied.
2018/04/28 12:32:00 ERROR : My Music: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:00 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for checks to finish
2018/04/28 12:32:00 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for transfers to finish
2018/04/28 12:32:00 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting files as there were IO errors
2018/04/28 12:32:00 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting directories as there were IO errors
2018/04/28 12:32:00 ERROR : Attempt 1/3 failed with 3 errors and: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:00 ERROR : My Videos: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Videos: Access is denied.
2018/04/28 12:32:00 ERROR : My Pictures: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Pictures: Access is denied.
2018/04/28 12:32:00 ERROR : My Music: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:01 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for checks to finish
2018/04/28 12:32:01 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for transfers to finish
2018/04/28 12:32:01 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting files as there were IO errors
2018/04/28 12:32:01 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting directories as there were IO errors
2018/04/28 12:32:01 ERROR : Attempt 2/3 failed with 3 errors and: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:01 ERROR : My Pictures: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Pictures: Access is denied.
2018/04/28 12:32:01 ERROR : My Videos: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Videos: Access is denied.
2018/04/28 12:32:01 ERROR : My Music: Failed to copy: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:01 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for checks to finish
2018/04/28 12:32:01 INFO : Local file system at \?\Z:\Backup\XXXX\Documents: Waiting for transfers to finish
2018/04/28 12:32:01 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting files as there were IO errors
2018/04/28 12:32:01 ERROR : Local file system at \?\Z:\Backup\XXXX\Documents: not deleting directories as there were IO errors
2018/04/28 12:32:01 ERROR : Attempt 3/3 failed with 3 errors and: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
2018/04/28 12:32:01 Failed to sync: failed to open source object: open \?\C:\Users\XXXX\Documents\My Music: Access is denied.
Is this a bug or is anything that I can use to bypass this problem?
Regards
R