#303 follow-up: the fonts volume must mount node-owned #312
No reviewers
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#312
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue-303-fonts-dir-ownership"
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?
Follow-up to #303 (already merged).
Found on the deploy, not in a test
After #303 reached the stages,
/data/fontsin the running api container wasroot:root. The api runs asnode, so every upload would have failed with EACCES at runtime — whilereadyzreported ok and the whole test suite stayed green, because the suites write into a temp directory they own.Cause
The api Dockerfile already documents the mechanism for uploads and plugins:
#303 added
CUSTOM_FONTS_DIRto the ENV line but not to themkdir -p … && chown -R node:nodeline right below it.Fence
A new check in the
checksjob asserts that every/data/…path the api image defaults to appears in BOTH the mkdir and the chown. Verified against the real defect: removing/data/fontsfrom the chown makes the check fail, and it passes with the fix in place.Stage state
The
customfontsvolumes on test and int were created root-owned by the first deploy and must be removed so they are recreated from the fixed image. They are empty — nothing has been uploaded yet. I will do that after this merges and report the verified result.