[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] FilePlugin>>primitiveDirectoryDelete leaves the directory open after deleting (#368)

akgrant43 notifications at github.com
Sat Feb 2 18:34:16 UTC 2019


As reported by Albrecht, deleting a directory on a cifs mounted drive is problematic because the directory is left open after deleting.

See: http://forum.world.st/Why-DirectoryIsNotEmpty-on-FileReference-gt-gt-deleteAll-td5094589.html

The problem can be reproduced with:

```smalltalk
| root deleteMeFolder |

root := '/path/to/cifs' asFileReference.
deleteMeFolder := root / 'delme'.
deleteMeFolder ensureCreateDirectory.
deleteMeFolder delete.
```


Then execute:

```
$ sudo lsof | grep delme
```


and you'll see the deleted entries.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190202/697d3dda/attachment.html>


More information about the Vm-dev mailing list