Question : 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 ???

Answer : Using SetACL to change inheritance

example
APPLIES TO
" Microsoft Windows 2000 Server
" Microsoft Windows 2000 Advanced Server
" Microsoft Windows 2000 Professional Edition
" Microsoft Windows 2000 Datacenter Server
" Microsoft Windows NT Workstation 3.51
" Microsoft Windows NT Workstation 4.0 Developer Edition
" Microsoft Windows NT Server 3.51
" Microsoft Windows NT Server 4.0 Standard Edition
 
>>>>>>    How To Automate Folder Permissions
http://support.microsoft.com/kb/180464

it not one solution for all.
Random Solutions  
 
programming4us programming4us