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
Can confirm, having the same issue using the NPM installed version of code-server. This also breaks certain extensions like Todo Tree...
For the NPM install the directory is slightly different: /usr/lib/node_modules/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg
Fixing now, sorry about this!
Duplicate of #1665
Hi, sorry for the duplicate.
I can confirm that using 3.3.1 the issue is fixed.
Thanks for the very fast response!
Most helpful comment
Can confirm, having the same issue using the NPM installed version of code-server. This also breaks certain extensions like Todo Tree...
For the NPM install the directory is slightly different:
/usr/lib/node_modules/code-server/lib/vscode/node_modules/vscode-ripgrep/bin/rg