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, view it on GitHub, or mute the thread.