Skip to content

EPERM: operation not permitted, lstat #1568

@darsain

Description

@darsain

Issue

Errors like these happen sporadically when I use the OS and various apps, and they change some files located under %HOME%/* while Hyper is running in the background:

image

image

It seems like Hyper is watching user's home folder to spy on .hyper.js changes, and whenever something happens there it does lstat on the changed file. This operation might not be permitted on some files, which results in EPERM error window popping up and annoying me considerably 😢.

I think that watching of anything under user's home folder should be isolated to only the paths relevant to Hyper and completely ignoring any event not relevant to it, since watching everything there might (apart of throwing these errors) cause performance issues in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions