Skip to content

fix socket path trust check failing on root-owned directories; improv…#648

Merged
zachmann merged 1 commit intoprerelfrom
improve-safefile
Apr 8, 2026
Merged

fix socket path trust check failing on root-owned directories; improv…#648
zachmann merged 1 commit intoprerelfrom
improve-safefile

Conversation

@zachmann
Copy link
Copy Markdown
Member

@zachmann zachmann commented Apr 8, 2026

…e error message

Add GID 0 (root group) to the trusted GID list, mirroring the existing implicit trust of UID 0. This fixes the issue where directories like /tmp owned by root:root with group-writable + sticky bit permissions were incorrectly flagged as untrusted. Fixes #603.

Also make the OIDC_EPERM error message include the actual path that failed the trust check, giving users actionable diagnostic information instead of just 'socket path location is not trustworthy'.

…e error message

Add GID 0 (root group) to the trusted GID list, mirroring the existing
implicit trust of UID 0. This fixes the issue where directories like /tmp
owned by root:root with group-writable + sticky bit permissions were
incorrectly flagged as untrusted. Fixes #603.

Also make the OIDC_EPERM error message include the actual path that failed
the trust check, giving users actionable diagnostic information instead of
just 'socket path location is not trustworthy'.
@zachmann zachmann merged commit 3eb2899 into prerel Apr 8, 2026
5 checks passed
@zachmann zachmann deleted the improve-safefile branch April 8, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot start agent, socket path location is not trustworthy

1 participant