^

ERROR 5 (0×00000005) Copying NTFS Security to Destination Directory

Posted on by admin

Got this error today using ROBOCOPY to copy files to a SAMBA share.

ERROR 5 (0×00000005) Copying NTFS Security to Destination Directory e:\xxxx\
Access is denied.

I figured out a workaround…

Backup mode cannot circumvent explicit NTFS deny ACL’s if the copier isn’t the objects’ owner.

(Error message: ERROR 5 (0×00000005) Copying NTFS Security to Destination Directory. Access denied.)

You can overcome this error by just copying the data in the files with these Options setting:

/COPY:DT instead of the /COPYALL option.

Why this works…

/COPYALL is equivalent to /COPY:DATSOU, D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=aUditing info

We only need Data and Timestamps.

Be Sociable, Share!
This entry was posted in Software and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>