<p>Good point. I didn't find exact information unfortunately. Just this one SO discussion: <a href="https://unix.stackexchange.com/questions/356302/sticky-bit-and-socket-files-in-xdg-runtime-dir" rel="nofollow">https://unix.stackexchange.com/questions/356302/sticky-bit-and-socket-files-in-xdg-runtime-dir</a></p>
<p>That suggests that 1) the 6h requirement applies to real files (and I tend to follow since the spec makes a distinction between files and file objects in the same paragraph), and 2) no implementation actually implements the periodic cleanup (which is a MAY requirement).</p>
<p>On the other hand, the spec guarantees that $XDG_RUNTIME_DIR itself exists until the last logout.</p>
<p>So given that and that the spec expressively tells to put sockets in that directory, I would say it's not an issue to worry about.</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/pull/2222?email_source=notifications&email_token=AAIOWJZBMKAAVBW6ZRCUMI3QADLKBA5CNFSM4IE3PHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JZCIY#issuecomment-512987427">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6DFQ5BWRSZUTBFVKDQADLKBANCNFSM4IE3PHAA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3LIQCQHMUEO2WWQEDQADLKBA5CNFSM4IE3PHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JZCIY.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/pull/2222?email_source=notifications\u0026email_token=AAIOWJZBMKAAVBW6ZRCUMI3QADLKBA5CNFSM4IE3PHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JZCIY#issuecomment-512987427",
"url": "https://github.com/geany/geany/pull/2222?email_source=notifications\u0026email_token=AAIOWJZBMKAAVBW6ZRCUMI3QADLKBA5CNFSM4IE3PHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JZCIY#issuecomment-512987427",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>