[Github-comments] [geany/geany] prefer XDG_RUNTIME_DIR over /tmp for the socket (#2222)

Thomas Martitz notifications at xxxxx
Thu Jul 18 21:05:36 UTC 2019


Good point. I didn't find exact information unfortunately. Just this one SO discussion: https://unix.stackexchange.com/questions/356302/sticky-bit-and-socket-files-in-xdg-runtime-dir

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).

On the other hand, the spec guarantees that $XDG_RUNTIME_DIR itself exists until the last logout.

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2222#issuecomment-512987427
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190718/904c214c/attachment.html>


More information about the Github-comments mailing list