+ Post New Thread
Results 1 to 11 of 11
Windows Server 2000/2003 Thread, Server 2003 sp2 32bit (Folder/file permissions) in Technical; Need help, the server started acting daft. I work in a school, we have a shared folder on drive E ...
  1. #1

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Server 2003 sp2 32bit (Folder/file permissions)

    Need help, the server started acting daft. I work in a school, we have a shared folder on drive E for staff. within this folder all the staff have there own folders, and through profile the drive is mapped when they login.The permissions have gone tits up. I need it to work this way

    1. Drive E has a shared folder call "homefolders"
    2. Within this folder all the staff have there folders

    Step 1+2 are present and correct

    3. When the user logs on the drive is mapped (this works fine)

    This is were it has gone tits up.

    4. The user can open the folder read and write etc
    5. If the user tries to open the "homefolders" folder it should say you don`t have the rights ( This at the moment is not happening they can open the folder)
    6. If they try and open anyone else`s folder they should get the same error you dont have the rights (At the moment they can open, read and write to anybodies folder)

    What I want is for user to be able to access there own folders, be able to read write etc. If they try and access the "homefolders" folder or anyone else`s folders they must be told they can`t. I have tried everything but can`t achieve this. Please help.....
    Last edited by trueblue64; 24th February 2012 at 10:33 PM.

  2. #2

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    aslong as the folder name is there username I have a script I can post up which will change all the permissions so that they are correct on the individual folders.

    What they should have is (i'm fairly sure this is correct just going from the top of my head)

    Share permissions - full control
    NTFS -
    root folder (i.e the one with all the folders in) Lists/read without propergation lower down. Then each folder underneath - User whos Documents Full Control - Domain Admins/Local Administrators group Full control.

  3. Thanks to glennda from:

    trueblue64 (25th February 2012)

  4. #3

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yes the folder name is the same as the login name ie folder 1122 username 1122

  5. #4

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    OK if you put this script into the folder you are wanting to change permissions on and save as a bat file

    Code:
    for /d %%1 in (*) do echo y|calcs %%1 /t /g %%1:f Administators:f "Domain Admins":f System:F
    This explained - for each folder as %foldername% in (current folder) do this command | change permissions for %foldername% grant %foldername%:full control Administators:Full Control Domain Admins:Full Control System:full Control

    If you want to modify this so that you grant a extra group read only permissions to the folders (such as teaching staff on kids documents) add
    Code:
    "Teaching Staff":r
    to the end of the script

  6. #5

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Glennda will try this Monday. Will the users of the folder still be able to read/write, also will they not be allowed to see the root folder of other peoples folders with this script.
    Last edited by trueblue64; 25th February 2012 at 09:19 PM.

  7. #6

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ok script did not work, it says calcs is not a recognised command

  8. #7

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    Sorry my bad - typo its CACLS

  9. #8

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Glennda, I get this when I run the command after every folder.
    "No mapping between account names and security ID's was done"
    Is this correct

  10. #9

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    no. Are you running the script from the directory in which the folders are located locally on the server? (should have mentioned!)

  11. #10

    Join Date
    Aug 2011
    Posts
    6
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by trueblue64 View Post
    Thanks Glennda, I get this when I run the command after every folder.
    "No mapping between account names and security ID's was done"
    Is this correct
    Yes I run the script in the homefolders folder, where all the teaching staff folders are. Do I have to run with power shell or normal command line

  12. #11

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    Normal Command line should work.

SHARE:
+ Post New Thread

Similar Threads

  1. Slow file copy from XP SP3 to Server 2003 SP2
    By Frazer in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 30th July 2010, 01:36 PM
  2. Server 2003 x64 SP2 Windows Updates
    By Messa in forum Windows
    Replies: 2
    Last Post: 13th May 2009, 11:13 AM
  3. Replies: 19
    Last Post: 26th April 2008, 11:06 AM
  4. Upgrading Windows Server 2003 SP2 to R2
    By fawkers in forum Windows
    Replies: 24
    Last Post: 20th October 2007, 07:30 AM
  5. Replies: 5
    Last Post: 5th July 2007, 11:43 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •