Spaces:
Paused
Paused
Update start-openclaw.sh
Browse files- start-openclaw.sh +2 -2
start-openclaw.sh
CHANGED
|
@@ -155,8 +155,8 @@ generate_config() {
|
|
| 155 |
EOF
|
| 156 |
fi
|
| 157 |
# 设置正确的文件权限
|
| 158 |
-
chmod
|
| 159 |
-
chmod
|
| 160 |
#chown -R root:root /root/.openclaw/
|
| 161 |
|
| 162 |
log "OpenClaw 配置文件已生成: $CONFIG_FILE"
|
|
|
|
| 155 |
EOF
|
| 156 |
fi
|
| 157 |
# 设置正确的文件权限
|
| 158 |
+
chmod 755 "$CONFIG_FILE"
|
| 159 |
+
chmod 755 "$OPENCLAW_DIR"
|
| 160 |
#chown -R root:root /root/.openclaw/
|
| 161 |
|
| 162 |
log "OpenClaw 配置文件已生成: $CONFIG_FILE"
|