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

Permission changes not detected by FSEvents on macOS #31

Closed
xenoscopic opened this issue Jun 28, 2018 · 2 comments
Closed

Permission changes not detected by FSEvents on macOS #31

xenoscopic opened this issue Jun 28, 2018 · 2 comments
Assignees
Labels

Comments

@xenoscopic
Copy link
Member

For some reason the github.com/rjeczalik/notify package isn't detecting file permission changes on macOS. The github.com/fsnotify/fsevents does seem to work in this regard. I think we'll need to swap out the former with the latter.

Both of these packages have their little quirks, and it's mostly the fault of FSEvents. We may want to investigate a more holistic refactoring of recursive watching.

@xenoscopic xenoscopic self-assigned this Jun 28, 2018
@xenoscopic xenoscopic added the bug label Jun 28, 2018
@xenoscopic
Copy link
Member Author

In the mean time, as a workaround, one can simply update the file modification timestamp with touch to trigger a rescan.

@xenoscopic
Copy link
Member Author

Closed by 6900074.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant