Waffelson@lemmy.world to linuxmemes@lemmy.world · 7 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square43fedilinkarrow-up1372arrow-down118
arrow-up1354arrow-down1imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 7 months agomessage-square43fedilink
minus-squaredream_weasel@sh.itjust.workslinkfedilinkarrow-up1·edit-27 months agoThere must be more to this. I just launched a terminal and created a file to test with nvim on arch and it works perfectly fine. Take a file, sudo chown root:root filename, sudo chmod 700 filename, edit with nvim and save with :w !sudo tee % then reload. Works fine. I’m on arch with suckless st. Edit: Made a demo vid - https://youtu.be/YKZuAvoSW5g
There must be more to this. I just launched a terminal and created a file to test with nvim on arch and it works perfectly fine.
Take a file, sudo chown root:root filename, sudo chmod 700 filename, edit with nvim and save with :w !sudo tee % then reload. Works fine.
I’m on arch with suckless st.
Edit:
Made a demo vid - https://youtu.be/YKZuAvoSW5g