{"name":"XDG_RUNTIME_DIR","slug":"xdg-runtime-dir","family":"env","title":"Environment variables","noun":"environment variable","description":"The messaging socket lives under XDG_RUNTIME_DIR with locked-down permissions and refuses to hijack a live one.","description_source":"entry","described_by":{"version":"2.1.224","anchor":"local-messaging-socket-where-it-lives-who-can-read-it-and-re"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.232","released_at":"2026-08-13 21:30:53","spans":1}},"aliases":[],"entries":[{"version":"2.1.248","anchor":"clearer-refusals-when-the-socket-directory-is-unsafe-plus-co","heading":"Clearer refusals when the socket directory is unsafe, plus container uid detection","line":"Unsafe socket directories now name the owner, group and mode, and containers are detected.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.232","anchor":"cross-session-messaging-refuses-unsafe-socket-directories","heading":"Cross-session messaging refuses unsafe socket directories","line":"If the socket directory for session-to-session messaging looks unsafe, messaging is turned off with a fix hint.","released_at":"2026-08-13 21:30:53","reason":"found in this entry's text"},{"version":"2.1.224","anchor":"local-messaging-socket-where-it-lives-who-can-read-it-and-re","heading":"Local messaging socket: where it lives, who can read it, and refusing to steal a live one","line":"The messaging socket lives under XDG_RUNTIME_DIR with locked-down permissions and refuses to hijack a live one.","released_at":"2026-08-07 01:36:32","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"XDG_CACHE_HOME","slug":"xdg-cache-home","description":null},{"name":"XDG_CONFIG_HOME","slug":"xdg-config-home","description":"Remote settings can now supply many more environment variables, including auth tokens and home directory paths."},{"name":"XDG_DATA_HOME","slug":"xdg-data-home","description":null},{"name":"XDG_STATE_HOME","slug":"xdg-state-home","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/xdg-runtime-dir","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}