[GH-ISSUE #15130] Linux: multi user permission issue with /tmp #56199

Open
opened 2026-04-29 10:25:13 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @timlevel on GitHub (Mar 29, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15130

What is the issue?

There are issues where you us ollama launch with one user, which generate 600 files in /tmp/ollama-backup, then if you try to run ollama launch with another user, there is a conflict because the folder is 755 so it can't write to it. The fix is to make that folder more open so any user can write to it.

Relevant log output


OS

Linux

GPU

Other

CPU

Intel

Ollama version

0.18.0

Originally created by @timlevel on GitHub (Mar 29, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15130 ### What is the issue? There are issues where you us ollama launch with one user, which generate 600 files in /tmp/ollama-backup, then if you try to run ollama launch with another user, there is a conflict because the folder is 755 so it can't write to it. The fix is to make that folder more open so any user can write to it. ### Relevant log output ```shell ``` ### OS Linux ### GPU Other ### CPU Intel ### Ollama version 0.18.0
GiteaMirror added the bug label 2026-04-29 10:25:13 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 29, 2026):

Set TMPDIR to a unique directory, eg:

$ TMPDIR="/tmp/$(id -un)" ollama launch opencode --model lfm2.5-thinking:c64k
This will modify your OpenCode configuration:
  /home/rick/.config/opencode/opencode.json
  /home/rick/.local/state/opencode/model.json
Backups will be saved to /tmp/rick/ollama-backups/
<!-- gh-comment-id:4150060865 --> @rick-github commented on GitHub (Mar 29, 2026): Set `TMPDIR` to a unique directory, eg: ```console $ TMPDIR="/tmp/$(id -un)" ollama launch opencode --model lfm2.5-thinking:c64k This will modify your OpenCode configuration: /home/rick/.config/opencode/opencode.json /home/rick/.local/state/opencode/model.json Backups will be saved to /tmp/rick/ollama-backups/ ```
Author
Owner

@PureBlissAK commented on GitHub (Apr 18, 2026):

🤖 Automated Triage & Analysis Report

Issue: #15130
Analyzed: 2026-04-18T18:23:03.973749

Analysis

  • Type: unknown
  • Severity: medium
  • Components: unknown

Implementation Plan

  • Effort: medium
  • Steps:

This issue has been triaged and marked for implementation.

<!-- gh-comment-id:4274311172 --> @PureBlissAK commented on GitHub (Apr 18, 2026): <!-- ollama-issue-orchestrator:v1 issue:15130 --> ## 🤖 Automated Triage & Analysis Report **Issue**: #15130 **Analyzed**: 2026-04-18T18:23:03.973749 ### Analysis - **Type**: unknown - **Severity**: medium - **Components**: unknown ### Implementation Plan - **Effort**: medium - **Steps**: *This issue has been triaged and marked for implementation.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#56199