Re:Rm -rf / in Windows Subsystem for Linux reveals sharp set...
by piscisaureus on Thursday June 30, 2016 @01:41AM
(#12006805)
Yes, but as long as the file is openen by another process...
- You can't delete the parent directory
- You can't create a new file with the same name
... which makes that flag quite useless.
An exception to this is memory mapped files as they are not allowed to be deleted that way. Executables are executed in Windows by memory-mapping them; so runnning programs are hard to delete.