View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000758General public affairs(No Category)public2015-10-17 23:162015-10-18 11:34
Assigned To 
PlatformGNU/LinuxOSLinuxOS Version2.6
Summary0000758: IN_DELETE_SELF not applicable for files
DescriptionThe command on a file watch with mask value "IN_DELETE_SELF" is not executed.
Steps To ReproduceThe two files 'foo' and 'bar' are touched in tmp. incron is setup so that if 'foo' is deleted 'bar' is to be deleted as well.

incron table:
/tmp/foo IN_DELETE_SELF rm -rf /tmp/bar

touch /tmp/foo
touch /tmp/bar
incrontab -d
rm /tmp/foo
Additional InformationAn incron table with the following entry works as expected:
/tmp/foo IN_MODIFY rm -rf /tmp/bar

touch /tmp/foo
touch /tmp/bar
incrontab -d
echo "foo" >> /tmp/foo
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
stclem (reporter)
2015-10-18 11:34

And it seems neither work with watched and deleted directories ...

- Issue History
Date Modified Username Field Change
2015-10-17 23:16 stclem New Issue
2015-10-18 11:34 stclem Note Added: 0000798

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker