Description
Issue 1: Web UI permission settings have no effect, preventing normal session use
- Observed behavior: Configuring Claude permissions (e.g., enabling tools) via the Web UI does nothing. The only workaround is to launch Claude from the command line using
--dangerously-skip-permissions. When trying to use a session via the Web UI (e.g., after re-login), the terminal shows:
Starting terminal in: /workspace/claude
--dangerously-skip-permissions cannot be used with root/sudo privileges for security reasons
Process exited with code 1
- Expected behavior: Permission settings in the Web UI (Tools settings) should take effect, allowing sessions to start normally without command-line flags.
- Actual behavior: Permission configuration is ignored, and the Web UI cannot start sessions due to the security restriction.
Issue 2: Using Claude from CLI causes workspace path corruption (/root vs ~)
- Observed behavior: Forced to use Claude from the command line (due to issue 1). Claude then creates projects and sessions under
/root. After that, the “Select Folder” function in the Web UI fails to create a workspace, showing:
Cannot use system-critical directories as workspace locations
No subfolders found
All workspace creation paths become locked to ~ (home directory) and cannot be changed.
- Impact: Severely breaks workspace management; the state is difficult to revert.
- Expected behavior: Claude should create projects under the user-specified workspace directory, not
/root. The Web UI should allow selecting normal paths (outside system-critical directories) as workspaces.
Environment
- Deployment: Self-hosted via
npx @cloudcli-ai/cloudcli or global install
- Permissions: Likely running with root/sudo privileges (as suggested by the error message)
- Version: Latest (v1.28.1 as of now)
Additional notes
- Issue 2 is likely a side effect of issue 1, but both critically affect core workflows.
- According to the documentation, Claude Code tools are disabled by default and must be enabled in settings – but the Web UI settings do not persist/take effect (issue 1).
Please let me know if you need more details or logs.
Description
Issue 1: Web UI permission settings have no effect, preventing normal session use
--dangerously-skip-permissions. When trying to use a session via the Web UI (e.g., after re-login), the terminal shows:Issue 2: Using Claude from CLI causes workspace path corruption (/root vs ~)
/root. After that, the “Select Folder” function in the Web UI fails to create a workspace, showing:~(home directory) and cannot be changed./root. The Web UI should allow selecting normal paths (outside system-critical directories) as workspaces.Environment
npx @cloudcli-ai/cloudclior global installAdditional notes
Please let me know if you need more details or logs.