Thanks for your bug report. This is not an error in incron. 'touch' doesn't trigger IM_MODIFY. And the redirect of 'date' triggers IM_MODIFY twice (that's why you see the message twice).
If you can to wait for for of these actions properly, listen for the event: CLOSE_WRITE . The developer also recommends this on his website http://inotify.aiken.cz/?section=inotify&page=faq&lang=en . To check it you can observe the events with inotifywait --monitor /tmp/Y/y in one terminal and do the 'touch' and 'date' in another terminal. ** Changed in: incron (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1394086 Title: IN_MODIFY does not trigger once on file modification To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/incron/+bug/1394086/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs