ar- / incron

cron-like daemon which handles filesystem events
Other
229 stars 51 forks source link

[Debian Bug #599801] IN_DELETE_SELF doesn't work #16

Open k0lter opened 9 years ago

k0lter commented 9 years ago

This bug report is a copy of https://bugs.debian.org/599801

[dimas]

hello! i'm using Debian Testing and have noticed that incron doesn't seem to process IN_DELETE_SELF action properly. shortly, i create a sample dir/file and add line like "/path IN_DELETE_SELF some_action", but when i delete watched file/dir (using rm or rmdir) nothing happens. other things i've tried seem to work right.

please see attached file for original action log (if /tmp/1 is a file, things go the same way)

srv>16:15:04 284 ~$ mkdir /tmp/1 srv>16:15:09 284 ~$ incrontab -e table updated srv>16:16:07 284 ~$ incrontab -d requesting table reload for user 'srv'... request done srv>16:16:13 284 ~$ incrontab -l /media/svalka/music/ IN_MODIFY,IN_CREATE,IN_DELETE,IN_MOVE /home/srv/.bin/reloadshares /tmp/1 IN_MODIFY,IN_DELETE_SELF touch /home/srv/stat srv>16:17:13 284 ~$ ls /tmp/ 1 museekd.lock museekd.srv srv>16:17:18 284 ~$ touch /tmp/1 srv>16:17:28 284 ~$ ls downloads progs tmp srv>16:17:33 284 ~$ rm -rv /tmp/1 удален каталог: «/tmp/1» srv>16:17:41 284 ~$ ls downloads progs tmp

vercetty92 commented 8 years ago

Hi,

is there any news for this bug? I'm using version 0.5.9 on RHEL6, and IN_DELETE_SELF doesn't work.

thx a lot