From 60300f64ea9e5b847ff9231481a55b5b5fa39c65 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Sat, 28 Mar 2026 20:54:57 -0700 Subject: [PATCH] fix(auth): enforce mode 0700 on config dir mkdir to match docstring --- muxplex/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muxplex/auth.py b/muxplex/auth.py index 9c34604..5d564ad 100644 --- a/muxplex/auth.py +++ b/muxplex/auth.py @@ -14,7 +14,7 @@ from pathlib import Path def _config_dir() -> Path: """Return ~/.config/muxplex, creating it (mode 0700) if needed.""" d = Path.home() / ".config" / "muxplex" - d.mkdir(parents=True, exist_ok=True) + d.mkdir(mode=0o700, parents=True, exist_ok=True) return d