diff options
| -rw-r--r-- | scripts/sync-credentials | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
