ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Folder Permissions En Masse

    IT Discussion
    3
    5
    629
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      OK, i've got 60 folders. All are equivalent to a user name. Who knows the quickest way to give the person whose user name = the folder name full control of said folder? I'm assuming PS but i'm no PS pro.

      1 Reply Last reply Reply Quote 1
      • ?
        A Former User
        last edited by A Former User

        Apply the creator owner permission to the folder their all in make this inherited to the folders below it but, not its own folder. Then change the owners of your folders to the user. I wouldn't use individual users in file permissions that just makes management harder.

        1 Reply Last reply Reply Quote 0
        • PSX_DefectorP
          PSX_Defector
          last edited by

          Assuming NTFS permissions

          https://technet.microsoft.com/en-us/library/hh750728.aspx

          Just have to build a batch file to perform the change. Do a dir to get the list of the entire folder, build a spreadsheet with the names in it, and add to the beginning and end of the command

          net share \<<share>> /grant:<<user>>,full

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @PSX_Defector said:

            net share \<<share>> /grant:<<user>>,full

            That doesn't change NTFS permissions that creates a share with the specified share permissions. You really don't want to share these user folders out individually (though i've see people do it.) It's a nightmare. Make a Users folder and share that out (you can even use the $ at the end to make it hidden).

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              This is what I'd recommend going of what I said above add the Creator owner permission and give full control to it on your "Users" Folder, but set it to Subfolders and files only. Make sure you tick replace child object with inheritable permissions. Then apply it. Assuming you followed the standard convention of making the user folder the same as the username this will be easy to script changing the folder owner. Check out this script: http://www.steelbytes.net/set-owner-rights-on-user-profile-or-home-folders-script

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post