[PR #594] [MERGED] Elements requiring chown to run non-root Docker #1342

Closed
opened 2026-05-07 01:01:40 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/594
Author: @jpbaril
Created: 1/22/2023
Status: Merged
Merged: 1/22/2023
Merged by: @binwiederhier

Base: mainHead: patch-1


📝 Commits (1)

  • 804ee3b Elements requiring chown to run non-root Docker

📊 Changes

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

View changed files

📝 docs/install.md (+1 -1)

📄 Description

We also have to chown the attachments directory otherwise the docker container does not start and crashes. BTW, all that should be automated at the container creation. Because it took me at least an hour to understand that the only way to accomplish that chown command was to first launch the container as root, run the commands, and only then edit docker-compose.yml to add uid/gid. After that I could restart the container and it would now not crash.


🔄 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/binwiederhier/ntfy/pull/594 **Author:** [@jpbaril](https://github.com/jpbaril) **Created:** 1/22/2023 **Status:** ✅ Merged **Merged:** 1/22/2023 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`804ee3b`](https://github.com/binwiederhier/ntfy/commit/804ee3b298be5cd05b1a0300c33c436a7012be77) Elements requiring chown to run non-root Docker ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/install.md` (+1 -1) </details> ### 📄 Description We also have to chown the attachments directory otherwise the docker container does not start and crashes. BTW, all that should be automated at the container creation. Because it took me at least an hour to understand that the only way to accomplish that chown command was to first launch the container as root, run the commands, and only then edit docker-compose.yml to add uid/gid. After that I could restart the container and it would now not crash. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:40 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1342
No description provided.