This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Open
Description
Hi,
Some time in the last month or so, since I last opened Atom and used it, a problem has arisen with the automatic Shellcheck execution.
When I make any change to a bash script in Atom, I receive the following pop-up:
[Linter] Error running ShellCheck
See Console for more info.
With Open Console and Cancel as the button options.
When I open the console, the seemingly relevant section says...
/home/klfjoat/.atom/packages/linter/lib/linter-registry.js:154
[Linter] Error running ShellCheck Error: need to run as root or suid
at ChildProcess.<anonymous> (/home/klfjoat/.atom/packages/linter-autocomplete-jing/node_modules/sb-exec/lib/index.js:56)
at ChildProcess.emit (events.js:194)
at maybeClose (internal/child_process.js:998)
at Socket.<anonymous> (internal/child_process.js:403)
at Socket.emit (events.js:194)
at Pipe.<anonymous> (net.js:593)
(anonymous) @ /home/klfjoat/.atom/packages/linter/lib/linter-registry.js:154
In what world must I be root
to run Shellcheck!?!?! Obviously there is a problem, here. I'm just not sure at what level. So I started with the most specific piece that didn't work.
Basic background info...
- Atom is up-to-date
- All Atom packages are up-to-date
- Shellcheck is up-to-date from the official Shellcheck snap package (created by the author, not someone else), and this is how it has always run successfully.
- I have manually run Shellcheck on the same file that was open in Atom, and it ran (without root) and provided me with useful output.
- I have tried hard-coding the Shellcheck executable path in the package config
/snap/bin/shellcheck
, but no change in experience. - All other options in
linter-shellcheck
are default. - No other errors that I can see in Atom.
Metadata
Assignees
Labels
No labels