Skip to content

Searching does not work with EACCES error #1666

Closed
@jpmsilva

Description

@jpmsilva

Reproduced with docker installation in version 3.3.0.
When trying to search (Ctrl+Shift+F) an error appears:

spawn /usr/lib/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg EACCES

Looking inside the container I see that the binary under the path mentioned does not have execute permissions:

root@708059e3622c:~# ls -la /usr/lib/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg
-rw-r--r-- 1 root root 5037104 May 17 23:01 /usr/lib/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg

Granting the necessary execute permissions fixes the issue:
chmod +x /usr/lib/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions