Link to home
Start Free TrialLog in
Avatar of sean-keys
sean-keys

asked on

Using SetACL to change inheritance

I have several users home directories with an ACE set to full access for the user, but "this folder only"  I'm trying to use setacl.exe to change it to "this folder sub folders and files" for that user.  I have come up with this script but it seems I'm missing something, as it doesn't work.  

SetACL.exe -on "%homeshare%" -ot file -actn ace -ace "n:DTHS\%username%;p:full;so,sc" -op "dacl:np;sacl:np" -actn rstchldrn rst "dacl,sacl"  -rec cont_obj -ignorerr

Any ideas ???
Avatar of JSoup
JSoup
Flag of United States of America image

is this in any way dealing with a server??  SetACL.exe is a free program for setting permissions on Windows NT/2000/XP systems.
use explorer
Avatar of sean-keys
sean-keys

ASKER

I don't want to use explorer because I would have to do the same thing for some 500 directories.
is this in any way dealing with a server??  
yes it is
Some technical information is  needed before giving the right advice.  
SetACL.exe is a free program for setting permissions on Windows NT/2000/XP systems.
Which w2k3 or w2K server is it?
Is this using Windows Server 2003 Terminal Services?
Are Windows NT 4 computers in use?


ASKER CERTIFIED SOLUTION
Avatar of JSoup
JSoup
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial