Skip to content

Error saving user settings file #30

@MaurUppi

Description

@MaurUppi

context

/theme to configure it accordingly.

Image

Why it's access /Library/Application Support/QwenCode?

QwenCode did not install as a macOS application.
Can anyone confirm the system-wide config located in /Users/ouzy/.qwen/.env?

What happened?

│ Debug Console (ctrl+o to close)                                                                                            │
╭────────────╮
│  > /theme  │
╰────────────╯

Error saving user settings file: Error: EACCES: permission denied, mkdir '/Library/Application Support/QwenCode'
    at Module.mkdirSync (node:fs:1363:26)
    at saveSettings (file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:276090:12)
    at LoadedSettings.setValue (file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:275925:5)
    at file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:258388:24
    at file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:276134:7
    at RadioButtonSelect.use_input_default.isActive (file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:261626:9)
    at file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:225665:11
    at exports3.batchedUpdates (file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:21561:16)
    at EventEmitter.handleData (file:///Users/ouzy/.npm-global/lib/node_modules/@qwen-code/qwen-code/bundle/gemini.js:225664:28)
    at EventEmitter.emit (node:events:530:35) {
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/Library/Application Support/QwenCode'
}

What did you expect to happen?

User settings file was saved successfully.

Client information

Details

│ About Gemini CLI │
│ │
│ CLI Version 0.0.1-alpha.7 │
│ Git Commit b5a8df7 (local modifications) │
│ Model qwen3-coder-plus │
│ Sandbox no sandbox │
│ OS darwin │
│ Auth Method openai

Login information

export OPENAI_API_KEY="sk-xxxxxxxx"
export OPENAI_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
export OPENAI_MODEL="qwen3-coder-plus"

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expected

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions