Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Does anybody have a script that will set the permissions to the name of the folder

 

ie set folder 07jbloggs with permission to 07jbloggs etc?

 

just clearing up the bosses mess :doh:

Posted

I got one (which i couldn't find!)

 

for /d %%1 in (*) do echo y|cacls %%1 /t /g %%1:F administrators:f "domain admins":f "teaching Staff":r

 

This then give user full control, Domain admins full control and teaching staff read only

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...