madthumbs@lemmy.worldM to Linuxsucks@lemmy.worldEnglish · 6 days agoSudoeditlemmy.worldimagemessage-square27fedilinkarrow-up15arrow-down14
arrow-up11arrow-down1imageSudoeditlemmy.worldmadthumbs@lemmy.worldM to Linuxsucks@lemmy.worldEnglish · 6 days agomessage-square27fedilink
minus-squareShadow@lemmy.calinkfedilinkEnglisharrow-up0·6 days agoSame shit happens with notepad in windows when editing the hosts file.
minus-squareMisterD@lemmy.calinkfedilinkEnglisharrow-up0·6 days agoNotepad++ handles this gracefully It offers to relaunch itself elevated without losing what you just edited.
minus-squaresuperkret@feddit.orglinkfedilinkEnglisharrow-up1·3 days agoAnd vim lets you elevate from inside it also. This isn’t an OS issue at all.
minus-squaremadthumbs@lemmy.worldOPMlinkfedilinkEnglisharrow-up0arrow-down2·edit-26 days agoYou’re right, some AI chat told me it wouldn’t even open (by default). But at least it has a decent suggested solution in the error.
Same shit happens with notepad in windows when editing the hosts file.
Notepad++ handles this gracefully
It offers to relaunch itself elevated without losing what you just edited.
And vim lets you elevate from inside it also.
This isn’t an OS issue at all.
You’re right, some AI chat told me it wouldn’t even open (by default). But at least it has a decent suggested solution in the error.