User forums > Help

Linux allows removal of open files.

(1/1)

Pecan:
I'm trying to remove the temporary files left by clangd.
But I don't want to delete the logs and temp files that are currently open.

Linux is allowing me to "rm" files that are open and being used. Windows (thankfully) doesn't allow this.

What do I need to do on Linux to get it to disallow removal of open/active files?

jordi:
Maybe this link can help you: https://www.gnu.org/software/libc/manual/html_node/Deleting-Files.html

Navigation

[0] Message Index

Go to full version