From 9e35f7e4087cfa6017cb65ec6a7036f394f5eb22 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 21 Mar 2026 23:04:50 +0000 Subject: fix: set credentials readable by www-data (group 640) in sync-credentials --- scripts/sync-credentials | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/sync-credentials b/scripts/sync-credentials index 842ef34..22e3f75 100644 --- a/scripts/sync-credentials +++ b/scripts/sync-credentials @@ -22,7 +22,8 @@ DEST_GEMINI_ACCOUNTS="/workspace/claudomator/credentials/gemini/google_accounts. if [[ -f "$SOURCE_CLAUDE" ]]; then mkdir -p "$(dirname "$DEST_CLAUDE")" cp "$SOURCE_CLAUDE" "$DEST_CLAUDE" - chmod 600 "$DEST_CLAUDE" + chown root:www-data "$DEST_CLAUDE" 2>/dev/null || true + chmod 640 "$DEST_CLAUDE" echo "Synced Claude credentials." fi -- cgit v1.2.3