jp10558 Posted February 21, 2007 Posted February 21, 2007 Is there a way to set folder permissions from AutoIT scripts? Basically I have a problem, for some subset of users, I need to have a folder C:\folder1\username. But for security I cannot allow Domain Users to write to C:\. So I have a script that can pull @Username, assign it to a variable, and then runasset(adminbla) and dircreate blah. But I would expect that the user would not have permissions to the username folder... What would be perfect would be to set owner of username to $username variable I got, but I'm not really sure how to do that except trying to script the entire GUI which I don't want to do. Any Ideas?
lod3n Posted February 21, 2007 Posted February 21, 2007 You could use SetACL.exe and Run it with appropriate options:http://sourceforge.net/project/showfiles.php?group_id=69165 [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
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