<blockquote>
<p>"sudo nano filename.xxx"</p>
</blockquote>
<p>I don't agree with the avoid-root-at-all-cost paranoia, but you can minimize the "danger" by running the editor as the actual user that owns the file with <code>sudo -u</code>. You can also avoid creating a new file with wrong ownership.</p>
<blockquote>
<p>So using the command geany assumes you're logged in as root, and if you are, you shouldn't have permission issues, but if not, you need to "sudo " into geany</p>
</blockquote>
<p>So what exactly was the issue?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1500#issuecomment-490897258">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4R4GIVUGICIKZFBDTPUQPBNANCNFSM4DMJBYPA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6ZURACJWBQIRTILPLPUQPBNA5CNFSM4DMJBYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVBH62Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1500#issuecomment-490897258",
"url": "https://github.com/geany/geany/issues/1500#issuecomment-490897258",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>