[PR #182] [MERGED] Solving permissions issue with collector/outputs and server/storage #3233

Closed
opened 2026-02-22 18:33:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/182
Author: @efocht
Created: 8/9/2023
Status: Merged
Merged: 8/10/2023
Merged by: @timothycarambat

Base: masterHead: ef-permissions


📝 Commits (1)

  • 39ae43a Solving permissions issue with collector/outputs and server/storage when

📊 Changes

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

View changed files

📝 docker/Dockerfile (+2 -2)

📄 Description

When deploying freshly with docker-compose the permissions of files in /app/collector/ and /app/server/ are mixed, most files are owned by root and some are owned by anythingllm. This leads to various issues (possibly related: #117).

anythingllm@7207f4cd9512:~$ ls -l /app/server/
total 156
drwxrwxr-x   2 root        root          4096 Aug  9 10:16 endpoints
-rw-rw-r--   1 root        root          2799 Aug  9 10:16 index.js
drwxrwxr-x   2 root        root          4096 Aug  9 10:16 models
drwxr-xr-x 298 anythingllm anythingllm  12288 Aug  9 13:13 node_modules
-rw-rw-r--   1 root        root          1348 Aug  9 10:16 package.json
drwxr-xr-x   4 root        root          4096 Aug  9 13:13 public
drwxrwxr-x   5 anythingllm anythingllm   4096 Aug  9 11:57 storage
drwxrwxr-x  10 root        root          4096 Aug  9 10:16 utils
-rw-rw-r--   1 root        root        115692 Aug  9 10:16 yarn.lock
anythingllm@7207f4cd9512:~$ ls -l /app/collector
total 48
-rw-rw-r-- 1 root        root        3170 Aug  9 10:16 README.md
drwxr-xr-x 2 anythingllm anythingllm 4096 Aug  9 13:14 __pycache__
-rw-rw-r-- 1 root        root         820 Aug  9 10:16 api.py
drwxrwxr-x 2 anythingllm anythingllm 4096 Aug  9 11:56 hotdir
-rw-rw-r-- 1 root        root        2513 Aug  9 10:16 main.py
drwxr-xr-x 2 root        root        4096 Aug  9 11:55 outputs
-rw-rw-r-- 1 root        root        1927 Aug  9 10:16 requirements.txt
drwxrwxr-x 3 root        root        4096 Aug  9 10:16 scripts
drwxr-xr-x 1 anythingllm anythingllm 4096 Aug  9 13:14 v-env
-rw-rw-r-- 1 root        root         588 Aug  9 10:16 watch.py
-rw-rw-r-- 1 root        root          70 Aug  9 10:16 wsgi.py

This patch changes ownership of files in collector/ and server/ to anythingllm.


🔄 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/Mintplex-Labs/anything-llm/pull/182 **Author:** [@efocht](https://github.com/efocht) **Created:** 8/9/2023 **Status:** ✅ Merged **Merged:** 8/10/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `ef-permissions` --- ### 📝 Commits (1) - [`39ae43a`](https://github.com/Mintplex-Labs/anything-llm/commit/39ae43a6b82c6f3a099cce13aad6d4568c7d40fe) Solving permissions issue with collector/outputs and server/storage when ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile` (+2 -2) </details> ### 📄 Description When deploying freshly with docker-compose the permissions of files in `/app/collector/` and `/app/server/` are mixed, most files are owned by `root` and some are owned by `anythingllm`. This leads to various issues (possibly related: #117). ``` anythingllm@7207f4cd9512:~$ ls -l /app/server/ total 156 drwxrwxr-x 2 root root 4096 Aug 9 10:16 endpoints -rw-rw-r-- 1 root root 2799 Aug 9 10:16 index.js drwxrwxr-x 2 root root 4096 Aug 9 10:16 models drwxr-xr-x 298 anythingllm anythingllm 12288 Aug 9 13:13 node_modules -rw-rw-r-- 1 root root 1348 Aug 9 10:16 package.json drwxr-xr-x 4 root root 4096 Aug 9 13:13 public drwxrwxr-x 5 anythingllm anythingllm 4096 Aug 9 11:57 storage drwxrwxr-x 10 root root 4096 Aug 9 10:16 utils -rw-rw-r-- 1 root root 115692 Aug 9 10:16 yarn.lock anythingllm@7207f4cd9512:~$ ls -l /app/collector total 48 -rw-rw-r-- 1 root root 3170 Aug 9 10:16 README.md drwxr-xr-x 2 anythingllm anythingllm 4096 Aug 9 13:14 __pycache__ -rw-rw-r-- 1 root root 820 Aug 9 10:16 api.py drwxrwxr-x 2 anythingllm anythingllm 4096 Aug 9 11:56 hotdir -rw-rw-r-- 1 root root 2513 Aug 9 10:16 main.py drwxr-xr-x 2 root root 4096 Aug 9 11:55 outputs -rw-rw-r-- 1 root root 1927 Aug 9 10:16 requirements.txt drwxrwxr-x 3 root root 4096 Aug 9 10:16 scripts drwxr-xr-x 1 anythingllm anythingllm 4096 Aug 9 13:14 v-env -rw-rw-r-- 1 root root 588 Aug 9 10:16 watch.py -rw-rw-r-- 1 root root 70 Aug 9 10:16 wsgi.py ``` This patch changes ownership of files in collector/ and server/ to anythingllm. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:20 -05:00
yindo closed this issue 2026-02-22 18:33:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3233