Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.11.0
-
None
-
None
-
I am using CentOS 7 and Java 8.
Description
Using Linux on NFS, if a file is in use and you delete it, the original file is in fact deleted but a ".nfs" file will be left in the directory until the thread or process using the file releases its handle. This prevents the directory containing from being deleted. The upshot is that if forceDelete is called on a directory and there is a file anywhere underneath it which something has open, some of the tree will not be deleted with no exception being thrown.
I have attached a simple program which demonstrates the issue.