Question about giving modify access to a group on a specific directory in users

Dear forum members

Let’s say i have a share


and every user has a directory \bin

Now i want for every user a group having modify access on that \shares\users\bin

What would be the best way to do this in powershell. These are a lot of users so i think i have to loop through the AD -> Company users and set the group rights.

I hope you can help a bit. I use a lot of powershell, but i need some info on setting the NTFS permission the right way.


Kind regards,



There are many scripts and examples of setting permissions for home directories:

You definitely should set up a test structure, create child objects and then try to use scripts to reset the permissions to ensure the parent and child objects have inherited the permissions.

Thank you very much Rob, that gives me a good idea.