Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inotify: fix event filter to handle file writing and file renames #7

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

liske
Copy link
Member

@liske liske commented Oct 21, 2024

The inotify event MODIFY does trigger on writes and truncates but we only wan't to be triggered after the files has been completely written or when it was target of a rename (MOVED_TO).

@liske liske added the bug Something isn't working label Oct 21, 2024
@liske liske requested a review from MarcelCoding October 21, 2024 21:43
@MarcelCoding MarcelCoding merged commit ec6a440 into main Oct 21, 2024
4 checks passed
@MarcelCoding MarcelCoding deleted the fix-inotify-events branch October 21, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants