Fix file permissions for logs and database #4

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

Phase 1: Security Hardening

Log files created with 0666 (world-writable), database with 0644 (world-readable).

Tasks

  • Change log files to 0640, database to 0600
  • Set explicit umask in daemon startup

Files

  • backup.go
  • database.go
  • cmd/backive/main.go
## Phase 1: Security Hardening Log files created with 0666 (world-writable), database with 0644 (world-readable). ### Tasks - Change log files to 0640, database to 0600 - Set explicit umask in daemon startup ### Files - `backup.go` - `database.go` - `cmd/backive/main.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#4
No description provided.