fix(repo): a fresh media volume is writable by the backend (#914) #915
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/media-volume-owner"
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?
Closes #914.
The problem. On a fresh install, the
mediavolume's mount point is owned by root, because no image created/app/media. Every upload then fails with a 500.The fix.
backend-basenow creates/app/media, owned byappuser, next to/app/backups. Existing volumes are unaffected.Checked on a
backend-prodimage with a fresh named volume:/app/mediaisappuser:appuserand writable.🤖 Generated with Claude Code