Sam_Brown Posted April 10, 2014 Posted April 10, 2014 Morning Guys, Our permissions on our Student Home Areas are a bit of a mess. Only the students have access to them! Does anyone know of a nice easy way to add additional people to the permissions to all the sub-folders while keeping the correct student permissions on the folders intact? I'm assuming this is going to be a Power Shell solution?
forkies Posted April 10, 2014 Posted April 10, 2014 I posted my old script on this post http://www.edugeek.net/forums/office-software/134213-students-accessing-other-students-files-using-manage-templates.html Hope this helps. Tom
glennda Posted April 11, 2014 Posted April 11, 2014 This does the trick - save it as a batch in the root share folder (it needs your folder structure to be \\server\share\Username) for /d %%1 in (*) do echo y|cacls %%1 /t /g %%1:F administrators:f "domain admins":f system:f "teaching staff":r Essentially it looks at the folder name and then tries to assign permission to a user of that name with full control (the :f) then administrators full control, Domain Admins full control, System full Control and teaching staff Read only (the:r)
3s-gtech Posted April 11, 2014 Posted April 11, 2014 NTFSFix does this in a nice GUI. Make sure that you have your home folder redirection permissions so they don't give exclusive access (just a tick box on the settings dialog).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now