I'm doing the permissions in Windows Server 2008 R2. I'm learning to use a batch file to do this quickly, but it's not doing the right thing that I want. This is the code of the simple .bat file
icacls D:\Test2 /grant p5:(wa)
This is the display:
User p5 has no permissions except "special permissions", and in the advanced menu, it displays:
It's the right permission that I want, and I'm trying permissions like
icacls D:\Test2 /grant p5:(d,m)
It's just displayed like in picture 1.
My Question: i want when i set, permission gonna is "this folder, subfolders and files" and the permission outsite (like in pic 1) must be set. how i can do it?