tsk-khpc92q22zgp Open
The runner keeps agy's scratch, and (after #2068) per-placement TMPDIRs, under /tmp/maity-scratch-<uid>. If that path exists but is not the agents' user's own private directory, the runner rightly refuses it, but then agy starts without a scratch and no per-placement TMPDIR can be made. Fall back to a per-user directory the runner owns, short enough for the socket rule: under the runner's state dir, or under XDG_RUNTIME_DIR where set. Report the fallback in maity runner check. Tests for a foreign-owned and a non-directory path. After #2068 merges.