Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting NTFS Permissions and then Importing them

Status
Not open for further replies.

Chambers

IS-IT--Management
Jan 19, 2001
257
US
Hi guys,
Here's my scenario. I have a Server that is connected to a SAN that houses all our department drives and user drives it's a win2003 Server NTFS file system. What I want to do is take that Server offline, attach a new Server to the SAN and then make sure all the NTFS permissions are the same for the Department/User Drives, this would also be great if it kept the Shares. I'm trying to use RoboCopy to get the permissions but I'm having some problems, here are my commands I'm using;

robocopy O:\ C:\temp /sec /create --This creates empty files with the correct file permissions from O Drive into the C:\temp folder

then I copied the files from O:\ into a Temp2 directory and the permissions changed (to match my local machine permissions). So then I tried taking the permissions set on the C:\temp folder into the files in C:\temp2

robocopy C:\Temp C:\temp2 /copy:dats /nocopy --This won't copy any of the files but I thought it would copy the permissions but it's not working. The output I get is the following;

Changed 0 WinsockFix.zip

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

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 26 26 0 0 0 0
Bytes : 0 0 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00

Ended : Wed Jul 06 13:12:48 2005


Am I go about this the wrong way? Are there better tools for this? Thanks for all your help!
 
Anyone out there that can help me out on this? WIll the SAN hold the NTFS permissions correctly?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top