inotify delete_self when modifying and saving a file

Posted by hyperboreean on Stack Overflow See other posts from Stack Overflow or by hyperboreean
Published on 2010-05-02T20:58:21Z Indexed on 2010/05/02 21:07 UTC
Read the original article Hit count: 392

Filed under:
|

I am running a small inotify script that sets up a watch on a file. Each time that file is edited and saved, the script notices that a DELETE_SELF event is triggered. Is that normal and if it is why? Shouldn't the inotify subsystem notice that the file still exists?

© Stack Overflow or respective owner

Related posts about linux

Related posts about inotify