title: SSIS File System Task Deleting Directory Leaves Directory and Removes all Permissions
body: <p>I have a rather bizarre issue with an SSIS package I have. After processing some files within a Directory I am removing the Directory so my For Each Loop doesn't process the same files again.</p>
  
  <p>It fails to Delete the Directory but yet leaves it in the folder and then tells me I do not have access to this folder, I cannot take ownership of it or even move it to another directory.</p>
  
  <p>I have even tried a VB.NET Script tasks to try and remove it and I get the same result.</p>
  
  <p>A reboot of the server makes the folder disappear - has anyone experienced this before.</p>
  
  <p>Regards,</p>
  
  <p>JML</p>