File permissions question - Need expert Advice

I have had trouble importing over SIDs from my NT machine to my 2003. So instead of migration, I am starting from scratch.

I've recreated all users and groups - Now I just need to setup a file structure with correct permissions.

I would like to re-structure our folders like so:

//<servername>/Users/HR

//<servername>/Users/IT

//<servername>/Users/Accounts

//<servername>/Users/Buying


Now at present those files are on a NT server. I will move them to my XP machine and then move them to my 2003 machine. I want to at this point erase all permissions on the files so that just the administrator has acess. I want want to enable parent permissions on every single file so I can then go ahead and change the propertys of the IT folder to allow the "IT group" access. Like so

//<servername>/Users/IT/directory/folder1/another folder/file.zip
change permissions so everything is inherited from Users - Admin access on all files.
So the above file will only be accessable by the IT group.


Is this clear? How can it be done on a mass scale? 15gigs of data here. With a very deep file struture. Not all files have parent paths enabled.
LVL 5
georgecooldudeAsked:
Who is Participating?
 
SamuraiCrowConnect With a Mentor Commented:
It sounds like you need the latest version of Robocopy (available in the 2003 resource kit that can be downloaded here):

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

This tool is awsome for copying info from one server to another.  The general syntax goes something like this:

robocopy <source> <destination> /E /NoCopy

The /E switch grabs all of the subdirectories and the /NoCopy swith makes sure that no permissions are moved with it.  It does about a thousand more things that you can check out with robocopy /? on the command line.  

Hope this helps
Crow
0
 
kelo501Commented:
go with crow this works
kelo501
0
 
map000Connect With a Mentor Commented:
you can use robocopy to move the data and also to give the permissions you want on your folder structure (with replace permissions ... in the advanced tab from security)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
georgecooldudeAuthor Commented:
ok, I finally did  my migration successfully.

Now I need to move my folders from. Does the robocopy /COPYALL delete any data? I need to transfer all relevant file info permissions, timestamps etc, the lot.

Hopefully I can just use /COPYALL and /ETA ?? Correct?

0
 
kelo501Commented:
yes that is correct.
0
 
georgecooldudeAuthor Commented:
ok, heres my problem.


I can move the files fine from my NT machine to my XP Pro machine.

Now I get accessed denied errors when I try and move them to my 2003 machine from my XP machine? Both times I am logged in as administrator but it doesn't seem to like it on the 2003 machine. Any ideas?

Also I tryed using the /ZB (backup mode tag) and it stopped all the folders being shared.
0
 
map000Connect With a Mentor Commented:
you should use a domain admin account or an account which has access on both your computer and your server
0
 
georgecooldudeAuthor Commented:
I would have though the administrator account did. :S

I will give it another go and get back to you.
0
 
map000Commented:
domain admin or local admin?
0
 
georgecooldudeAuthor Commented:
ok, I tryed again with a user who ahd domain admin permissions and all data was copyied accross fine.

I think I have everything sorted now. I will ROBOCOPY the entire network drive over to my machine later tonite and then move it in the morning to my Windows 2003 machine.

I'll leave this question open incase I have any more problems.

0
All Courses

From novice to tech pro — start learning today.