title: Create folder works but permission not inherited
body: <p>I have a piece of Java that create folder(s) on a network mapped drive (Z:)
  Script executes on server A (Windows 2008 R2, running as user account "serviceUser") and creates folder(s) on server B (Windows 2003)</p>
  
  <p>The root folder on server B (which is mapped as Z:) has special permission and allows "serviceUser" to create, modify, delete, write, etc. Permissions are set to inherit to child object, so folder created in Z: should get the same permissions as Z: itself.</p>
  
  <p>My code creates 2 folders inside Z: like:</p>
  
  <pre><code>File destination = new File("z:\\folder_1\\");
  File destination = new File("z:\\folder_1\\subfolder_1\\");
  </code></pre>
  
  <p>Folder "folder_1" gets the correct permissions but "subfolder_1" does not.
  After creating those folders, I need to create a file, but as the "subfolder_1" doesn't get permissions, console reports <code>"Access is denied"</code> when doing <code>File fileName = new File("z:\\folder_1\\subfolder_1\\filename.png");</code></p>
  
  <p>How can I fix this problem?</p>