Set ownership for config and workspace directories
This commit is contained in:
parent
da71eaebd2
commit
4a717edc93
@ -26,6 +26,8 @@ OPENCLAW_WORKSPACE_DIR="${OPENCLAW_WORKSPACE_DIR:-$HOME/.openclaw/workspace}"
|
|||||||
|
|
||||||
mkdir -p "$OPENCLAW_CONFIG_DIR"
|
mkdir -p "$OPENCLAW_CONFIG_DIR"
|
||||||
mkdir -p "$OPENCLAW_WORKSPACE_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_CONFIG_DIR
|
||||||
export OPENCLAW_WORKSPACE_DIR
|
export OPENCLAW_WORKSPACE_DIR
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user