You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Topgrade runs helix --grammar fetch as sudo, installing all 163 grammars as root.
Expected Behavior
Topgrade runs helix --grammar fetch as the regular user, installing only those specified in languages.toml
Steps to reproduce
topgrade --only helix topgrade
Possible Cause (Optional)
in file src/steps/generic.rs,I do not understand why the command needs to be executed with sudo privilege there. Helix is just a text editor, it has no need of having elevated privileges for fetching grammars.
Problem persists without calling from topgrade
Yes
No
Did you run topgrade through Remote Execution
Yes
No
If yes, does the issue still occur when you run topgrade directlly in your
remote host
Erroneous Behavior
Topgrade runs
helix --grammar fetch
as sudo, installing all 163 grammars as root.Expected Behavior
Topgrade runs
helix --grammar fetch
as the regular user, installing only those specified in languages.tomlSteps to reproduce
topgrade --only helix
topgrade
Possible Cause (Optional)
in file src/steps/generic.rs,I do not understand why the command needs to be executed with
sudo
privilege there. Helix is just a text editor, it has no need of having elevated privileges for fetching grammars.Problem persists without calling from topgrade
Did you run topgrade through
Remote Execution
If yes, does the issue still occur when you run topgrade directlly in your
remote host
Configuration file (Optional)
Additional Details
Arch linux on hardened kernel version 6.7.4
cargo
topgrade -V
)Verbose Output (
topgrade -v
)After which it prompts me for password.
The text was updated successfully, but these errors were encountered: