mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #149] Add PUID/PGID ENV var support in Dockerfile #69
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NERVEbing on GitHub (Dec 8, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/149
Specific Demand
Add PUID/PGID ENV var support in Dockerfile.
Implement Suggestion
If the process is running under root, all files and directories created during the container's lifespan will be owned by root, thus becoming inaccessible by users, this is important for NAS.
Thank you.
@sigoden commented on GitHub (Dec 8, 2022):
use
userto specific uid:pid of running process.@NERVEbing commented on GitHub (Dec 8, 2022):
It works!