<p>I am new to geany, and I use it to update html and php files for my server, and I ran into the same issue. I searched online and no luck, then I tried the<br>
"sudo chmod 775 filename.xxx" (xxx could stand for php, js, or whatever type of file).<br>
This allowed the file to execute when being called from the browser. I was also able to<br>
"sudo nano filename.xxx"</p>
<p>So i decided to try the command "sudo geany" which prompted for my password as usual when you use sudo and it worked. I was able to save.</p>
<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>

<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-490737048">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ25A363IF3WELTYD2LPUOQUXANCNFSM4DMJBYPA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7NPMTGT3DHMFYVSYTPUOQUXA5CNFSM4DMJBYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVAA3GA.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-490737048",
"url": "https://github.com/geany/geany/issues/1500#issuecomment-490737048",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>