title: Java - Delete directory - IOException: Unable to delete directory
body: <p>I'm trying to delete two repositories</p>
  <pre><code>org.apache.commons.io.FileUtils.deleteDirectory(jobInDirectory);
  org.apache.commons.io.FileUtils.deleteDirectory(jobOutDirectory);
  </code></pre>
  <p>Path are right</p>
  <p>Rights on directory too</p>
  <p>The first is well deleted
  but not the second. Every file inside was deleted but not the directory</p>
  <pre><code>java.io.IOException: Unable to delete directory /opt/appdata/conv/data/out/Job000000000676.
  </code></pre>
  <p>I looked to see if another process had locked it using the command <code>lsfo</code> and no other process uses it...</p>
  <p>Any idea ?</p>