CACLS permissions for subdirectories

Hi

I'm using CACLS command ro change the permissions on directories on a W2003 server. All is going well but any sub folders are not inheriting the new permissions.

Example
c:\dir1\dir2\dir3

cacls c:\dir1\dir2 /E /G userf

The result is user has full controll of dir2 but not dir3. Is there a switch to add to ensure that all subdirectories recieve the same permissions.

Thanks





JuliafrazerAsked:
Who is Participating?
 
oBdAConnect With a Mentor Commented:
/t will traverse subdirectories:
cacls c:\dir1\dir2 /T /E /G user:f
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.