Skip to content

Utilities like "ag" generate errors trying to access the daemon socket file #4382

Closed
@JukkaL

Description

@JukkaL

When I have the daemon running and use some command-line tools that try to access every file under the current directory I get unexpected errors about the socket file. Example:

$ ag foobar
ERR: Skipping ./dmypy.sock: Error opening file: Operation not supported on socket

A potential fix would be to create the socket file somewhere else (such as in a temporary directory) and only include a regular file containing the path of the socket file within the working directory.

Another potential fix would be to rename the socket file so that commonly used utilities will ignore it. Not sure if there's a way to do this reliably.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions