Options

Mass Changing Users Home Folders Permission

BuddiesBuddies Registered User regular
edited February 2009 in Help / Advice Forum
One of the guys I work with copied all the users(700ish) home folders to a new server over the weekend. He did not use robocopy. It reassigned all the users home folders permissions to allow authenticated users full control, so everyone had access to everyone elses home folder. We then took that permission off and realized noone could access their home folder.

Now we have to individually reassign permissions for every persons home folder. Anyone know of a faster way to do this?

Anyone use icacls to do this? All of the users home folders are named as their username.


HALP!

Buddies on

Posts

  • Options
    PeregrineFalconPeregrineFalcon Registered User regular
    edited February 2009
    Here you go:

    calcs X:\Users\%USERNAME% /E /T /C /G %USERNAME%:C

    Loop this with %USERNAME% going down a list of users. That'll give them Change on their subfolder and everything under it.

    PeregrineFalcon on
    Looking for a DX:HR OnLive code for my kid brother.
    Can trade TF2 items or whatever else you're interested in. PM me.
  • Options
    BuddiesBuddies Registered User regular
    edited February 2009
    Thanks, I got it

    Buddies on
Sign In or Register to comment.