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

protected path causes Unix.lstat to fail #12

Open
arxaqapi opened this issue Dec 28, 2022 · 0 comments
Open

protected path causes Unix.lstat to fail #12

arxaqapi opened this issue Dec 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@arxaqapi
Copy link
Owner

Description

ojo fails if Unix.lstat fails. If the permission are denied the stats cannot be retrieved.

Error gotten if watching root /:

Fatal error: exception Sys_error("//lost+found: Permission denied")

What should happen instead

The protected path (file or directory) should be ignored and not cause ojo to crash

@arxaqapi arxaqapi added the bug Something isn't working label Dec 28, 2022
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

No branches or pull requests

1 participant