Skip to content

fix: ensure ~/.mind-map is user-owned before TLS generate#31

Merged
aniongithub merged 1 commit into
mainfrom
fix/tls-dir-perms
May 12, 2026
Merged

fix: ensure ~/.mind-map is user-owned before TLS generate#31
aniongithub merged 1 commit into
mainfrom
fix/tls-dir-perms

Conversation

@aniongithub
Copy link
Copy Markdown
Owner

On a fresh Linux install, sudo mind-map service install/start can create ~/.mind-map owned by root before mind-map tls generate runs as the user, causing "permission denied".

Fix:

  • Create ~/.mind-map early in the installer (as the user), before any sudo commands
  • chown -R the entire ~/.mind-map directory after service install to fix any root-owned files

On a fresh install, sudo commands (service stop/install/start) could
create ~/.mind-map owned by root before 'tls generate' runs as the
user, causing permission denied.

Fix: create ~/.mind-map early as the user, and chown the whole
directory after service install.
@aniongithub aniongithub merged commit 69fd15d into main May 12, 2026
1 check passed
@aniongithub aniongithub deleted the fix/tls-dir-perms branch May 12, 2026 05:13
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