[PR #2510] [MERGED] Docker: Fix permission with node service by adding node as user #6011

Closed
opened 2026-02-05 10:22:30 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2510
Author: @Abijeet
Created: 1/26/2021
Status: Merged
Merged: 1/31/2021
Merged by: @ssddanbrown

Base: masterHead: fix-docker-perm


📝 Commits (1)

  • 1aa9465 Docker: Fix permission with node service by adding node as user

📊 Changes

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

View changed files

📝 docker-compose.yml (+1 -0)

📄 Description

See: https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#non-root-user

Fixes the following error:

glob error:
[Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs'
}


🔄 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/BookStackApp/BookStack/pull/2510 **Author:** [@Abijeet](https://github.com/Abijeet) **Created:** 1/26/2021 **Status:** ✅ Merged **Merged:** 1/31/2021 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `fix-docker-perm` --- ### 📝 Commits (1) - [`1aa9465`](https://github.com/BookStackApp/BookStack/commit/1aa9465611b9448c11ba3056296f6bbb752db1c1) Docker: Fix permission with node service by adding node as user ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose.yml` (+1 -0) </details> ### 📄 Description See: https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#non-root-user Fixes the following error: glob error: [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] { errno: -13, code: 'EACCES', syscall: 'scandir', path: '/root/.npm/_logs' } --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:22:30 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6011