Solved

File permissions question - Need expert Advice

Posted on 2004-10-25
200 Views
Last Modified: 2010-04-19
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.
0
Question by:georgecooldude
    10 Comments
     
    LVL 9

    Accepted Solution

    by:
    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
     
    LVL 3

    Expert Comment

    by:kelo501
    go with crow this works
    kelo501
    0
     
    LVL 5

    Assisted Solution

    by:map000
    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
     
    LVL 5

    Author Comment

    by:georgecooldude
    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
     
    LVL 3

    Expert Comment

    by:kelo501
    yes that is correct.
    0
     
    LVL 5

    Author Comment

    by:georgecooldude
    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
     
    LVL 5

    Assisted Solution

    by:map000
    you should use a domain admin account or an account which has access on both your computer and your server
    0
     
    LVL 5

    Author Comment

    by:georgecooldude
    I would have though the administrator account did. :S

    I will give it another go and get back to you.
    0
     
    LVL 5

    Expert Comment

    by:map000
    domain admin or local admin?
    0
     
    LVL 5

    Author Comment

    by:georgecooldude
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
    In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
    This video discusses moving either the default database or any database to a new volume.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now