Set ownership for config and workspace directories

This commit is contained in:
tubalainen 2026-01-30 15:02:58 +01:00 committed by GitHub
parent da71eaebd2
commit 4a717edc93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,8 @@ OPENCLAW_WORKSPACE_DIR="${OPENCLAW_WORKSPACE_DIR:-$HOME/.openclaw/workspace}"
mkdir -p "$OPENCLAW_CONFIG_DIR"
mkdir -p "$OPENCLAW_WORKSPACE_DIR"
chown -R 1000:1000 "$OPENCLAW_CONFIG_DIR"
chown -R 1000:1000 "$OPENCLAW_WORKSPACE_DIR"
export OPENCLAW_CONFIG_DIR
export OPENCLAW_WORKSPACE_DIR