Public bug reported:
In incrontab the event symbol IN_MODIFY does not trigger an action just
once on file modification. So with the following root incrontab file:
# incrontab -l
/tmp/Y/y IN_MODIFY /usr/bin/zenity --title="A-OK" --info --text="MODIFY file"
--display=:0.0
If the file is modified with "touch" then nothing happens. Changing the
access and modification times of the file should trigger under IN_MODIFY
If the file is modified with a redirect ( eg. date > /tmp/Y/y ) then
"zenity" is called twice instead of once. The file was modified only
once, so incron should trigger only once.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: incron 0.5.10-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Nov 19 08:34:37 2014
InstallationDate: Installed on 2014-10-26 (23 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: incron
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.incron.allow: [inaccessible: [Errno 13] Permission
denied: '/etc/incron.allow']
modified.conffile..etc.incron.deny: [inaccessible: [Errno 13] Permission
denied: '/etc/incron.deny']
** Affects: incron (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394086
Title:
IN_MODIFY does not trigger once on file modification
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/incron/+bug/1394086/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs