<p>Two problems with that:</p>
<ol>
<li>
<p>how does Geany know if the socket is a leftover, or if that instance of Geany is still running?</p>
</li>
<li>
<p>if the socket is created by Geany running as root then Geany running as user can't delete it.</p>
</li>
</ol>

<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/2102#issuecomment-471116010">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ5DKerGYk8ji_0rhxBdroT8ZWMfZks5vUvXVgaJpZM4bmS_c">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJypBL-if2m3sUxVA33xSzW-W1kzyks5vUvXVgaJpZM4bmS_c.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2102: Two problems with that:\r\n\r\n1. how does Geany know if the socket is a leftover, or if that instance of Geany is still running?\r\n\r\n2.  if the socket is created by Geany running as root then Geany running as user can't delete it."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2102#issuecomment-471116010"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2102#issuecomment-471116010",
"url": "https://github.com/geany/geany/issues/2102#issuecomment-471116010",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>