#1100399 incron: Incron should not get triggered by its own child processes

Package:
incron
Source:
incron
Description:
cron-like daemon which handles filesystem events
Submitter:
Patrik Schindler
Date:
2025-03-13 11:21:03 UTC
Severity:
normal
#1100399#5
Date:
2025-03-13 11:08:27 UTC
From:
To:
When incron is tasked to watch something, and the program part of the incrontab
entry triggers the same event being watched, incron gets stuck in an endless
loop.

Example:
/mydir	IN_ATTRIB	chmod g+w $@/$#

Then create a file:
touch /mydir/myfile

And run chmod on it:
chmod 640 /mydir/myfile

Adding ",loopable=0" doesn't change this behavior.

Incron should generally exclude events being triggered by its childs from being
considered as trigger.