Start a Conversation

Unsolved

This post is more than 5 years old

6158

February 24th, 2014 05:00

Robocopy'ing from the Isilon

Has anyone used robocopy to copy permissions from the Isilon?  If I user the following command using the "U" I get the following errors

robocopy /E /COPY:DATSOU /DCOPY:T y:\ E:\Test-Mirror-RoboCopy /LOG:"C:\robocopy-TestRobocopy-2014-02-19-0952.txt" /tee

"ERROR 5 (0x00000005) Copying NTFS Security to Destination File"


Would anyone be able to explain why?



If I run it without the "U" the file appear to copy over fine with the ownership, but it does not copy over the NTFS permissions :/

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

   ROBOCOPY     ::     Robust File Copy for Windows

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

  Started : Mon Feb 24 08:24:10 2014

              Usage :: ROBOCOPY source destination [file [file]...] [options]

             source :: Source Directory (drive:\path or \\server\share\path).

        destination :: Destination Dir  (drive:\path or \\server\share\path).

               file :: File(s) to copy  (names/wildcards: default is "*.*").

::

:: Copy options :

::

                 /S :: copy Subdirectories, but not empty ones.

                 /E :: copy subdirectories, including Empty ones.

             /LEV:n :: only copy the top n LEVels of the source directory tree.

                 /Z :: copy files in restartable mode.

                 /B :: copy files in Backup mode.

                /ZB :: use restartable mode; if access denied use Backup mode.

            /EFSRAW :: copy all encrypted files in EFS RAW mode.

  /COPY:copyflag :: what to COPY for files (default is /COPY:DAT).

                       (copyflags : D=Data, A=Attributes, T=Timestamps).

                       (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).

Thank you,

1 Rookie

 • 

20.4K Posts

February 24th, 2014 06:00

account that you use for robocopy, give it "root" rights on the share.

356 Posts

February 24th, 2014 07:00

Dynamox,

I ran this command using my admin account which I gave Full Control (NTFS), Full Control (SMB Share)/Run as Root.  I still could not run that command with the "U" without receiving those errors.  Any chance there is another work around?

Thank you,

1 Rookie

 • 

20.4K Posts

February 24th, 2014 08:00

did you actually configure auditing on the file system/folder you are trying to copy ? (In windows explorer, Auditing tab under Advanced Security)

356 Posts

February 24th, 2014 08:00

I do have auditing turned on via /var/log/audit/smb.log... is that what your talking about?  Is that what its trying to copy?

1 Rookie

 • 

20.4K Posts

February 24th, 2014 08:00

i just re-read your question, you are copying from Isilon ..not to Isilon ?

356 Posts

February 24th, 2014 08:00

Dynamox,

I am copying FROM the Isilon to a Windows system.

Thank you,

356 Posts

February 24th, 2014 08:00

Yikes, I don't have permissions to view or edit, and I am an admin on on this folder.  Does the Isilon even support this feature?  No matter where I go I don't seem to have permissions view or edit this.  Should I be concerned?

Thank you,

1 Rookie

 • 

20.4K Posts

February 24th, 2014 08:00

do you have auditing enabled on Isilon, is that why you care about copying that info ?

1 Rookie

 • 

20.4K Posts

February 24th, 2014 13:00

try to add /b and see if it helps (backup operator)

2 Posts

July 18th, 2014 07:00

You can use long path tool as well.

122 Posts

July 21st, 2014 22:00

you can try  option as

Robocopy "S:\TemplatePackage" "t:\TemplatePackager" /e /log:C:\logfile.txt /r:10 /copy:datso /tee

Also please follow steps  as article below

http://support.microsoft.com/kb/973776

http://support.microsoft.com/kb/979808

1 Message

June 11th, 2019 16:00

Hi,

 

I have the same problem, how did you solve it?

No Events found!

Top