PDA

View Full Version : robocopy error when copying to samba share



maemmi
08-23-2011, 06:37 AM
When using robocopy to copy files from Windows 7 64 bit system to a FreeNas 32 bit server running FreeNAS-8.0.1-BETA4-i386, I am getting the following error. but only when I use the hostname of the Freenas server \\freenas\samba\d in this case. If I use \\192.168.0.125\samba\d it works fine. Any ideas?

New Dir 21 D:\
2011/08/23 09:34:29 ERROR 5 (0x00000005) Changing File Attributes \\freenas\samb
a\d\
Access is denied.
Waiting 3 seconds...^C

maemmi
08-23-2011, 07:15 AM
And as usually happens, I figured it out 5 minutes after posting Adding /COPY:DT to the robocopy command removes copying of attributes. the default is /COPY:DAT So far it is working fine