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

kqueue: don't set up watchers on unreadable files #479

Merged
merged 1 commit into from Aug 6, 2022
Merged

Commits on Aug 6, 2022

  1. kqueue: don't set up watchers on unreadable files

    Watching an entire directory would fail if it contains a file we can't
    read due to permission errors. That's obviously not ideal, so just skip
    the file.
    
    Also add a test for trying to watch a directory where the permissions
    are denied, and test the error is what's expected; this prevents
    regressions like in #393.
    
    Fixes #439
    arp242 committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    555c656 View commit details
    Browse the repository at this point in the history