Restrict Unix socket permissions #1

Closed
opened 2026-02-02 10:00:56 +01:00 by qwc · 0 comments
Owner

Phase 1: Security Hardening

Socket created by net.Listen("unix", ...) defaults to 0777 — any local user can send commands.

Tasks

  • Set socket permissions to 0660 and restrict to a dedicated group
  • Validate socket directory permissions on startup

Files

  • events.go
## Phase 1: Security Hardening Socket created by `net.Listen("unix", ...)` defaults to 0777 — any local user can send commands. ### Tasks - Set socket permissions to 0660 and restrict to a dedicated group - Validate socket directory permissions on startup ### Files - `events.go`
qwc closed this issue 2026-02-02 14:09:19 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
qwc-open/backive#1
No description provided.