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-deleteA...
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.
Details on VM and image version from system reporter:
Image: Pharo7.0.1 Build information: Pharo-7.0.1+build.142.sha.b8825954d0dcff883bf4f47ea5c516c9cfc2fe4b (64 Bit)
Virtual Machine: /pharo-vm/lib/pharo/5.0-201901051900/pharo CoInterpreter VMMaker.oscog-eem.2504 uuid: a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 5 2019 StackToRegisterMappingCogit VMMaker.oscog-eem.2504 uuid: a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 5 2019 VM: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 20:00:11 2019 CommitHash: 7a3c6b64 Plugins: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Unix built on Jan 5 2019 19:12:23 Compiler: 4.8.4 VMMaker versionString VM: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 20:00:11 2019 CommitHash: 7a3c6b64 Plugins: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git CoInterpreter VMMaker.oscog-eem.2504 uuid: a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 5 2019 StackToRegisterMappingCogit VMMaker.oscog-eem.2504 uuid: a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 5 2019
Albrecht, thanks for the system info.
PR: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/371
Fixed confirmed by Albrecht, commit https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/a838346b1a67712cc28...
Closed #368.
vm-dev@lists.squeakfoundation.org