Hi,

I just browsed the source code and tried to reproduce the error. But for
me everything seems to work as expected. Are you restarting the daemon
process after you change the /etc/incron.allow ?

Can you try it again and observe the log output with

tail -f /var/log/syslog | grep incrond

If I add my user to the allowed file the log output shows this:

Jan 24 22:24:41 nano incrond[16535]: loading user tables
Jan 24 22:24:41 nano incrond[16535]: loading table for user XXXX
Jan 24 22:24:41 nano incrond[16535]: ready to process filesystem events

So the rules are loaded and executed. If I remove the name there (or
just change it to www-data) the log output is:

Jan 24 22:26:48 nano incrond[17901]: loading user tables
Jan 24 22:26:48 nano incrond[17901]: table for invalid user XXXX found (ignored)
Jan 24 22:26:48 nano incrond[17901]: ready to process filesystem events

So the rules file for that user is ignored. As expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394097

Title:
  IN_MODIFY does not trigger on file modification in some accounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/incron/+bug/1394097/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to