fix(auth): enforce mode 0700 on config dir mkdir to match docstring

This commit is contained in:
Brian Krabach
2026-03-28 20:54:57 -07:00
parent c7050a2b02
commit 60300f64ea
+1 -1
View File
@@ -14,7 +14,7 @@ from pathlib import Path
def _config_dir() -> Path: def _config_dir() -> Path:
"""Return ~/.config/muxplex, creating it (mode 0700) if needed.""" """Return ~/.config/muxplex, creating it (mode 0700) if needed."""
d = Path.home() / ".config" / "muxplex" d = Path.home() / ".config" / "muxplex"
d.mkdir(parents=True, exist_ok=True) d.mkdir(mode=0o700, parents=True, exist_ok=True)
return d return d