From 741affdfd6938bebcec34a2ee4c40fe2584a63bc Mon Sep 17 00:00:00 2001 From: SnoopyTlion <771933002@qq.com> Date: Tue, 3 Sep 2024 03:31:29 +0800 Subject: [PATCH] docs: update faq.md for OLLAMA_MODELS env var permissions (#6587) --- docs/faq.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 25b68248..356d5105 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -194,6 +194,8 @@ Refer to the section [above](#how-do-i-configure-ollama-server) for how to set e If a different directory needs to be used, set the environment variable `OLLAMA_MODELS` to the chosen directory. +> Note: on Linux using the standard installer, the `ollama` user needs read and write access to the specified directory. To assign the directory to the `ollama` user run `sudo chown -R ollama:ollama `. + Refer to the section [above](#how-do-i-configure-ollama-server) for how to set environment variables on your platform. ## How can I use Ollama in Visual Studio Code?