Waffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square43fedilinkarrow-up1373
arrow-up1373imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agomessage-square43fedilink
minus-squaredream_weasel@sh.itjust.workslinkfedilinkarrow-up1·edit-29 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