agorts
asked on
"ERROR 1314 (0x00000522) Copying NTFS Security to Destination Directory" - Cannot copy empty folders with NTFS permitions...
I am trying to use robocopy for copying a folder structure with defined security permissions and preserve the ntfs permissions...
My script is: (see bellow in code snippet)
When I run it from my user (Domain Admins) run OK, but if I run it through a user which has full permissions in "source" and in "target" but does not belongs to Domain Admins I get the error:
ERROR 1314 (0x00000522) Copying NTFS Security to Destination Directory \\sbmain.local\sbdfs\DPT_T echnical\T emplates\P ROJECT_Tem plate\
A required privilege is not held by the client.
Please advice
My script is: (see bellow in code snippet)
When I run it from my user (Domain Admins) run OK, but if I run it through a user which has full permissions in "source" and in "target" but does not belongs to Domain Admins I get the error:
ERROR 1314 (0x00000522) Copying NTFS Security to Destination Directory \\sbmain.local\sbdfs\DPT_T
A required privilege is not held by the client.
Please advice
robocopy.exe \\Source\PRJTemplate \\Target\NewPrj /LOG+:\\Source\_log.log /E /COPYALL /NP /R:2 /W:2
hmm. try to give the user full control at the share permission and NTFS permission
It sounds very much like a permissions problem
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I try it... but with the same results... The problem persists...
What exactly did you try? /copy:datsu or adding the user to the local admin group on the target server?
Nobody here can look over your shoulder while you're trying things, so you have to be specific about what you've tried and what the exact outcomes were.
Nobody here can look over your shoulder while you're trying things, so you have to be specific about what you've tried and what the exact outcomes were.
ASKER
I try all of them...
I also try the /copy:dats and finally it worked!
I also try the /copy:dats and finally it worked!
ASKER
Actually the /copy:datsu is equal to /copyall, thats why I try the "dats"...
Thank you anyway!
Thank you anyway!
Not quite, /copyall is equal to /copy:datsou. Should have thought of that earlier, sorry, changing auditing (the "u" option) of course requires special permissions as well.
ASKER
No problem!