MantisBT

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
Reporterstclem 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
ProjectionnoneETAnone 
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

Test:
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

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

- Relationships

-  Notes
(0000798)
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 - 2017 MantisBT Team
Powered by Mantis Bugtracker