Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
1.106.2
- OS Version:
Ubuntu 24.04
Steps to Reproduce:
- Install
shellcheck via snap (or other snap package)
- Open vscode integrated terminal
- run
/snap/bin/shellcheck --version
- Get error message
cannot set privileged capabilities: Operation not permitted
Note that this problem also appears on extensions using snap installed packages.
For example with matthiesen-technology.yaml-with-script extension (needs shellcheck).
On another terminal:
/snap/bin/shellcheck --version
# no problem
Does this issue occur when all extensions are disabled?: Yes/No
1.106.2Ubuntu 24.04Steps to Reproduce:
shellcheckvia snap (or other snap package)/snap/bin/shellcheck --versioncannot set privileged capabilities: Operation not permittedNote that this problem also appears on extensions using snap installed packages.
For example with
matthiesen-technology.yaml-with-scriptextension (needsshellcheck).On another terminal:
/snap/bin/shellcheck --version # no problem