Scripts Thread, Subinacl problems in Coding and Web Development; Afternoon all,
I'm wanting to edit ACL on some folders and subfolders/files, purely to add the user to the list ...
18th June 2008, 04:43 PM #1
- Rep Power
I'm wanting to edit ACL on some folders and subfolders/files, purely to add the user to the list with change permissions and ensure the domain admins group is also in there with full control. I assumed the code below would work but it won't. Username is the same as the folder name, problem I'm having as it simply won't run it from a batch file, goes off in a mood.
Any idea what I'm doing wrong? I'm fairly sure I did something similar last year without problems!
for /D %%i in (*) do ( subinacl /file %%i /grant=mydomain\%%i=C "/grant=mydomain\domain admins=f" /setowner=mydomain\%%i
subinacl /subdirectories %%i\* /grant=mydomain\%%i=f "/grant=mydomain\domain admins=f"/setowner=mydomain\%%i )
By Maximus in forum Wireless Networks
Last Post: 11th June 2009, 02:38 PM
By joe90bass in forum MIS Systems
Last Post: 26th February 2008, 01:40 PM
By boomam in forum Wireless Networks
Last Post: 16th January 2008, 06:11 PM
Last Post: 21st November 2006, 08:33 PM
By barryfl in forum ICT KS3 SATS Tests
Last Post: 10th April 2006, 04:50 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)