Actually this is not working fine. I think the problem is in the incron itself, 
not in the package.
In the actual version the fields _must_ be separated with only space(s), and 
there must be a mask after the first space.

Easy to reproduce, just try to add one line to the end and check the result:
$ incrontab -e && tail -n 1 /var/spool/incron/whatever

1. /srv/ IN_ACCESS echo "1"
with spaces, this OK

2. #/srv/ IN_ACCESS echo "1"
with spaces and with a hashmark in the first character, seems OK but in the log:
access denied on # - events will be discarded silently

2. # /srv/ IN_ACCESS echo "1"
the last line but add a space after the hashmark, the result will be:
# 0 IN_ACCESS echo "1"

3. try to add the line in point 1, but use tabs as delimiter instead of spaces:
/srv/<tab>IN_ACCESS<tab>echo "1"
The line will simply disappear.

And so on.
So use only space(s) for delimiter, and if you comment out lines do it without 
space.

$ apt-cache show incron | grep Ver
Version: 0.5.10-1ubuntu1

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

Title:
  incrontab changes event name, path etc

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to