PDA

View Full Version : Robocopy permissions problem?


LeperousDust
02-09-2008, 18:08
Below is the robocopy code and the errors i'm recieving on every file, but i've no idea why. It used to work fine, in fact it worked fine once and copied stuff over i just had to quit it whilst i fiddled a little more, now i've broken it! ;D :(

Help?

robocopy.exe "D:\Pictures" "\\Server\Users\Alex\Pictures" /S /ZB /COPYALL /LOG:\\Server\users\Alex\Robocopy_Logs\Pictures_Log .txt /DCOPY:T /R:10 /W:1 /TEE
PAUSE
EXIT

-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows

-------------------------------------------------------------------------------

Started : Tue Sep 02 18:04:11 2008

Source : D:\Documents\
Dest : \\SERVER\Users\Alex\Documents\

Files : *.*

Options : *.* /TEE /S /COPYALL /DCOPY:T /ZB /R:10 /W:1

------------------------------------------------------------------------------

55 D:\Documents\
New File 162 ~$am Timetable.docx
2008/09/02 18:04:16 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination
Directory D:\Documents\
This security ID may not be assigned as the owner of this object.

New File 18356 Adele_Avatar.jpg
2008/09/02 18:04:38 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination
Directory D:\Documents\
This security ID may not be assigned as the owner of this object.

New File 43520 Alex Dodd CV.doc
2008/09/02 18:04:45 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination
Directory D:\Documents\
This security ID may not be assigned as the owner of this object.

New File 508423 BT equinox 1200 user manual.pdf
2008/09/02 18:05:13 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination
Directory D:\Documents\
This security ID may not be assigned as the owner of this object.

New File 60758 cc_20080513_1529.reg
2008/09/02 18:05:18 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination
Directory D:\Documents\
This security ID may not be assigned as the owner of this object.

New File 1802 Default.rdp

Daz
02-09-2008, 19:11
The account you're using to run the copy - does it have full control over the target? Not just write?

LeperousDust
02-09-2008, 19:19
Its my Documents file logged in as my user, owned by Alex/Admin created by me etc... and its writing to the server which has a user called Alex which has the exact same permissions. AFAIK the home server connector console does all this automatically for me anyway when setting itself up :). So yeah pretty sure that's OK. I think it worked ok once...

As far as i can see its something wrong to do with shadow copies right? That's why i've got the $ as part of the filename and its meant to be using those because i'm using the /COPYALL switch. But i don't know how to fix it...

Cheers Daz i was hoping you'd appear, i feel confident now! :p:)