Skip to content

fix: chown helper socket to staff and verify readiness via socket ping#61

Merged
naufaldi merged 1 commit into
mainfrom
chore/pending-apple-signing-release-guard
Jun 24, 2026
Merged

fix: chown helper socket to staff and verify readiness via socket ping#61
naufaldi merged 1 commit into
mainfrom
chore/pending-apple-signing-release-guard

Conversation

@naufaldi

Copy link
Copy Markdown
Owner

What Change

  • Configure the privileged helper Unix socket with root:staff ownership and 660 permissions after creation
  • Replace file-existence polling with a socket connectivity check when waiting for helper readiness after install/reconnect
  • Surface the last socket ping error when helper readiness times out
  • Add unit tests for helper socket group naming and readiness retry logic
  • Bump Homebrew cask to v0.1.0-beta.3 with updated SHA256

Why Change

  • GUI users in the staff group could not connect to the helper socket when it was only mode-restricted without group ownership
  • Checking that the socket file exists did not guarantee the daemon was accepting connections
  • The beta.3 release bundles the helper socket access fix for distribution via Homebrew

Impact

  • Affected areas: fanguard-helper daemon, helper install/reconnect flow in commands.rs, Homebrew cask
  • Breaking changes: No
  • Dependencies: None
  • Testing: cargo test helper — 4 tests passed

Made with Cursor

Ensures GUI users can connect to the privileged helper socket after install
and bumps the Homebrew cask to v0.1.0-beta.3.

Co-authored-by: Cursor <cursoragent@cursor.com>
@naufaldi
naufaldi merged commit 0c05089 into main Jun 24, 2026
2 checks passed
@naufaldi
naufaldi deleted the chore/pending-apple-signing-release-guard branch June 24, 2026 02:55
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.

1 participant