[PR #11643] scripts/install.sh: Allow usermod -aG to fail #18870

Open
opened 2026-04-16 06:50:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11643
Author: @hoxell
Created: 8/2/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (1)

  • 7ab078d scripts/install.sh: Allow usermod -aG to fail

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 scripts/install.sh (+5 -2)

📄 Description

If the current user is non-local, usermod might fail. Belonging to the optional section of the installation script, this change makes this failure non-fatal and instead logs a warning informing the user they may add the current user to the ollama group manually.

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/11643 **Author:** [@hoxell](https://github.com/hoxell) **Created:** 8/2/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7ab078d`](https://github.com/ollama/ollama/commit/7ab078d9bf22c75a6a519f14b2943fb3384ddeca) scripts/install.sh: Allow usermod -aG to fail ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+5 -2) </details> ### 📄 Description If the current user is non-local, `usermod` might fail. Belonging to the optional section of the installation script, this change makes this failure non-fatal and instead logs a warning informing the user they may add the current user to the ollama group manually. <img width="1055" height="180" alt="image" src="https://github.com/user-attachments/assets/fbfea63f-8bf9-41c7-9bea-03154229dde3" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 06:50:06 -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#18870