Skip to content

Commit

Permalink
Set WatchMask::OPEN on inotify
Browse files Browse the repository at this point in the history
This fixes the problem of `Access(Open(_))` variant not being reported.

Signed-off-by: y5c4l3 <y5c4l3@proton.me>
  • Loading branch information
y5c4l3 authored and 0xpr03 committed Jul 14, 2024
1 parent 96dec74 commit ae69a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notify/src/inotify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ impl EventLoop {
) -> Result<()> {
let mut watchmask = WatchMask::ATTRIB
| WatchMask::CREATE
| WatchMask::OPEN
| WatchMask::DELETE
| WatchMask::CLOSE_WRITE
| WatchMask::MODIFY
Expand Down

0 comments on commit ae69a5c

Please sign in to comment.