Skip to content

[BUG] EACCES: permission denied, mkdir '/plans'Details #11208

@randomizedcoder

Description

@randomizedcoder

Problem (one or two sentences)

When using NixOS, and LiteLLM provider, talking to local llama.cpp, I was in the planning phase, and then there was an error, which seems to have a LOT of retries. It really shouldn't retry this many times. CPU went high, and then it failed.

I guess the error handling for this error needs review.

Looking at the error I hope roo isn't really trying to create a folder in "mkdir '/plans'" We definitely don't want root writing to the root folder. So maybe the other bug is the path

Image
Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details


Error
Error handling partial write_to_file:
EACCES: permission denied, mkdir '/plans'Details

Context (who is affected and when)

roo code user

Reproduction steps

Linux l 6.18.8 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 30 09:32:28 UTC 2026 x86_64 GNU/Linux
Today I updated to latest nixpkgs unstable, and rebuilt.

Image

Expected result

handle error gracefully

Actual result

caused cpu to go high retrying

Variations tried (optional)

No response

App Version

Version: 3.46.2 (d9f3683)

API Provider (optional)

LiteLLM

Model Used (optional)

qwen3-coder-30b

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions