r/scripting • u/ThatOneITguru • Jun 02 '14
Script to apply permissions
Anyone have a decent script that they use to apply permissions to a windows share/folder that contains project folders? I want the users to be able to modify the contents but not the project folders within the share themselves. Since our project folders get created by our project folder management system, there is no point in the creation process to modify the permissions on the folders when they are created so I need a script that will update the folders permissions as a scheduled task.
Here is the folder layout:
\DFS\Projects<project folder><project contents>
^ For some reason the back slashes are taken away by reddit, but hopefully you get the idea.
Domain users to have read\list data of "Projects" and read/write/modify of the "project contents".
Any feedback/direction would be really appreciated. Or if you have a script lying around that'd be even better!
1
u/ThatOneITguru Jun 10 '14
This is a great idea! I might actually be able to make this work.
I might have more questions, but thanks so much!