How to check file and folder permission after server migration

Hi Folks,

We are migrating our file server from Microsoft server2000 to EMC DART server. Although EMC DART server is a customized linux OS, we can still access to files in the new file server via mapping in the windows explorer.

As I have thousands of files, folders and user permissions, is there a tool or method that I can use to verify that all the files and permission have been copied over successfully?

We are currently using showacls.exe and diruse.exe but it is too manual and time consuming. Any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Head to and grab a copy of DumpACL. Run the "Dump permissions for all shared directories" against both servers and compare the lists by eyeball.
DecarnAuthor Commented:
Hi Midnight,

Thanks for the suggestion. Although I will prefer to use a Microsoft tool.
DecarnAuthor Commented:
Hi Folks,

Is there any tool to compare that the files are exactly the same after migration? I am looking at BeyondCompare but it is not a free tool.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

bbaoIT ConsultantCommented:
as your migration destination is a Linux host, i am not sure it does support the same kind of permissions as that NTFS permissions on your old W2K server.

however, you can use the following utility to copy and compare the source and destination files.

the utility not only does common COPY jobs, but also provides more functionalities for backup and archive. as it works on specific directories and their subdirectories, so you may invoke just one command to copy and verify all files.

it runs on command-line only on Windows, and may work on networked drives which are mapped from your Linux box.

i list all backup and archive related switches of xxcopy in the code area.

hope it helps,
  -----  The following switches are useful for backup and archive -----

        /BI  Backs up incrementally, different (by time/size) files only.
        /BA  Backs up incrementally (absolute) (more complete version of /BI)
        /BB  Backs up brand new files only (does not overwrite existing ones).
        /BN  Backs up newer files only      (includes brand new files).
        /Bo  Backs up older files only      (includes brand new files).
        /BX  Backs up different-date files  (includes brand new files).
        /BZ  Same as /BZX.
       /BZE  Backs up equal-size  files  (includes brand new files).
       /BZL  Backs up larger-size files  (includes brand new files).
       /BZS  Backs up smaller-size files (includes brand new files).
       /BZX  Backs up different-size files  (includes brand new files).
        /BE  Backs up exactly the same files(includes brand new files).
        /BS  Selects exactly the same files (this is useful with /RS).
        /BU  Standard Backup switch (same as /KS/H/E/R/Q/Y/BI/ZE/oD0).
        /B0  Undo any of /BI, /BB, /BN, /Bo, /BX, or /BZ switches.
         /U  Updates the files that already exist in destination.

             Note: A "brand new" file refers to a file which exists in the
                   source directory but not in the destination directory
                   (Micrososoft's Robocopy call it a "lonely file").

       /CD0  Does not compare file data byte-by-byte (default).
       /CDM  Selects files whose data match in byte-by-byte comparison.
       /CDU  Selects files whose data unmatch and brand new files.
       /CDX  selects files whose data match byte-by-byte and brand new files.

        /SP  Spans the copy job over multiple destination (new volume).

             Note: /SP cannot be used with switches which reference the
                   destination for file selection --- that is, the /Bxx
                   (backup) switches, and /U will be disabled by /SP.
                   That is, the spanning of the destination volume by /SP
                   assumes the backup operation is a full backup without
                   referencing the files already on the destination.

Open in new window

DecarnAuthor Commented:
Hi bbao,

Thanks for your comments. The file permissions will be the same even after copied to the linux system because it will still be using NTFS file system. The copying will be done by the vendor.

I will use the dumpACL as suggested by MidnightOne to check the permissions. What I need is another tool to check that the number of files, folders and the content is correct. E.g. compare C drive in server A to C drive in server B to ensure that everything is the same.
bbaoIT ConsultantCommented:
> What I need is another tool to check that the number of files, folders and the content is correct.

this can be done by XXCOPY which can even do byte-by-byte comparison.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DecarnAuthor Commented:
Was looking for an alternative to xcopy  but thanks for all your solutions.
bbaoIT ConsultantCommented:
just a reminder mate, the solution is XXCOPY, not the built-in XCOPY. there is one more X there... :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.