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