Here is my incrontab (tony's incrontab):
/home/tony/Workspace/cocoonr/ui/static/ui/img/icons/vector IN_MODIFY,IN_CREATE,IN_MOVED_TO /bin/sh /home/tony/Workspace/cocoonr/boilerplate/svg2djangohtml $@/$# /home/tony/Workspace/cocoonr/ui/templates/inc/icons/
I tested it multiple times changing some things, no way to make it work when incrond is run as a service (using openrc).
If I run incrond in foreground (incrond -n), then tony's incrontab works
If I set root's incrontab to the one given above, it works even when run as a service.
My tony is in /etc/incron.allow:
root
tony
And there is no /etc/incron.deny.
I even tried with a much simpler incrontab:
/tmp/foo IN_ATTRIB touch /tmp/bar
The results are the same.
How to make user's incrontab working?