[PR #10843] server: add hint to the error message when model path access fails #13385

Closed
opened 2026-04-13 00:25:38 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/10843

State: closed
Merged: Yes


A not-uncommon issue when users move the model directory is not realizing that all elements of the path it's being moved to needs to be accessible to the ollama user. Add a hint to the error messages.

Fixes: #10839

Before:

Error: mkdir /usr/share/ollama/.ollama: permission denied

After:

Error: mkdir /usr/share/ollama/.ollama: permission denied: ensure path elements are traversable
**Original Pull Request:** https://github.com/ollama/ollama/pull/10843 **State:** closed **Merged:** Yes --- A not-uncommon issue when users move the model directory is not realizing that all elements of the path it's being moved to needs to be accessible to the ollama user. Add a hint to the error messages. Fixes: #10839 Before: ``` Error: mkdir /usr/share/ollama/.ollama: permission denied ``` After: ``` Error: mkdir /usr/share/ollama/.ollama: permission denied: ensure path elements are traversable ```
GiteaMirror added the pull-request label 2026-04-13 00:25:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13385