How to set full control to a directory
<p>I am using the following code to set full control</p>

<pre><code>DirectorySecurity myDirectorySecurity = source.GetAccessControl();
string User = "Srinivass\\Admin";
myDirectorySecurity.AddAccessRule(new FileSystemAccessRule(
                        User,
                        FileSystemRights.Modify,
                        InheritanceFlags.ObjectInherit,
                        PropagationFlags.InheritOnly,
                        AccessControlType.Allow)
                    );

source.SetAccessControl(myDirectorySecurity);
</code></pre>

<p>But it is giving special permissions to this folder only.
I want to give full controll permissions to all subfolders.</p>

<p>Please anyone can help me.</p>
