Icacls permissions not applying as I expect
<p>I am running a batch file as part of a larger application. 
If certain conditions are met, a folder is created and permissions applied to the folder using icacls. </p>

<p>I have permission inheritance disabled on the parent folder, and I want to add to the ACL full permissions for the user "testuser".</p>

<p>I tried the following command...</p>

<pre><code> icacls "V:\debugging\test" /grant testuser:F
</code></pre>

<p>The command completes successfully, however when logging in to the folder via CIFS, I do not have full permissions. </p>

<p>I can create files and folders but not modify them.
I cannot even rename a text file during creation, so I end up with a new file called 'New text document' and i have no permission to edit this. </p>

<p>What I need to happen is for the permissions to be applied to "V:\debugging\test" that allow me to read, modify and and write without exception and If possible I need those permissions to be inherited by any child folders that may be created.</p>

<p>Can anyone point me in the right direction?</p>