(Windows) Error 5 When Using RoboCopy

Status
Not open for further replies.

Cosmo_Kramer

Contributor
Joined
Jan 9, 2013
Messages
103
Hello, when I try to use Robocopy in a batch file to copy from a directory from C drive to my CIFS share, I get "error 5" stating that it can't issue the time-stamp.
Are there any suggestions?

Thanks for your time.
 
Joined
Dec 17, 2012
Messages
8
Try /FFT :: assume FAT File Times (2-second granularity).

I was using robocopy with /MIR and itd just overwrite every file each time i ran it, so I added the /FFT option and it all worked fine for me from then onwards :)
 

Cosmo_Kramer

Contributor
Joined
Jan 9, 2013
Messages
103
Try /FFT :: assume FAT File Times (2-second granularity).

I was using robocopy with /MIR and itd just overwrite every file each time i ran it, so I added the /FFT option and it all worked fine for me from then onwards :)

It's still not working for me.
I get the error:
Error-5, Timestamping Destination Directory, Access Denied.
 

Cosmo_Kramer

Contributor
Joined
Jan 9, 2013
Messages
103
I found the answer.
I ran the the following command on my Share Folder via SSH:
find . -type f -exec setfacl -m group@:rwxpDdaARWcCos:fd----:allow {} \;
find . -type d -exec setfacl -m group@:rwxpDdaARWcCos:fd----:allow {} \;
 
Status
Not open for further replies.
Top