Skip to content
Discussion options

You must be logged in to vote

sudoedit(8) is a good tool for this: instead of running sudo helix which runs helix with root permissions, it creates a temp file, runs helix as you, and then moves the temp file to the location of the real file when done editing.

Replies: 8 comments 14 replies

Comment options

You must be logged in to vote
7 replies
@David-Else
Comment options

@sudormrfbin
Comment options

@the-mikedavis
Comment options

@kirusfg
Comment options

@yonatan8070
Comment options

Answer selected by kirusfg
Comment options

You must be logged in to vote
1 reply
@codedsprit
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@webdev23
Comment options

@zhexyez
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nowhereman1999
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@yonatan8070
Comment options

@jobukkit
Comment options

@curiositry
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet