Imagine the following scenario:
What could happen?
Which one is correct?
Now, i could test this behaviour on my own server, but what i want to know is whether there exists any sort of convention that defines UNIX/LINUX based standard behaviour in such a case?
How are such cases handled in general?
5.
Apache has the filesystem inode open, so when you delete the file, it's not deleted, it's unlinked. That is, link web_root/downloads/tmp/test.zip is removed, but the inode still exists as long as apache has the inode open. When apache closes the inode, its link count reaches zero and is removed by the system