incrontab changes event name, path etc
Bug #1031238 reported by
Alexandr Leutin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
incron (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I try to edit incrontab file with incrontab command, it replaces special symbols, which represents event path, name etc ($%, $@ etc) by '0'.
It not depends on the used editor (I have tried with nano, vim and mcedit).
For example:
root@s:~# cat incrontab.user | grep echo
/home/user IN_ALL_EVENTS /bin/echo %$ >> /tmp/incron.user
root@s:~# incrontab -uuser incrontab.user
copying table from file 'incrontab.
root@s:~# incrontab -l -uuser | grep echo
/home/user IN_ALL_EVENTS /bin/echo 0 >> /tmp/incron.user
root@s:~#
To post a comment you must log in.
s ~ $lsb_release -a [13:59:19]0 Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ======= -====== ======= ======= ======= ======= ====-== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
s ~ $uname -a [13:59:21]0
Linux s.micelon.ru 3.1.0-1.2-xen #5 SMP Mon Mar 5 14:10:54 MSK 2012 i686 i686 i386 GNU/Linux
s ~ $dpkg -l incron [13:59:28]0
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii incron 0.5.9-5 cron-like daemon which handles filesystem events
s ~ $