-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
agent-discoveredDiscovered by an AI agent during workDiscovered by an AI agent during workinfrastructureDeployment, CI/CD, and infrastructure tasksDeployment, CI/CD, and infrastructure taskspriority: normalStandard maintenance workStandard maintenance worktype: bugSomething is not workingSomething is not working
Description
Bug
Files copied into the Docker transcript-data volume (via docker cp, upload endpoint, or ingest scanner) may retain restrictive host permissions (e.g., rwx------). The container runs as appuser (non-root), which cannot read these files, causing jobs to fail with [Errno 13] Permission denied.
Reproduction
- Copy a file with owner-only permissions into the transcript volume
- Queue a job referencing that file
- Worker fails with
Permission denied
Expected
Container startup should ensure /data/transcripts is readable by appuser.
Suggested Fix
Add chmod -R a+r /data/transcripts to entrypoint.sh, or use chown -R appuser:appuser /data/transcripts before dropping to appuser. Alternatively, fix permissions at the point of ingestion (upload endpoint, ingest scanner download).
Context
Discovered during bulk test job creation with 18 transcripts — 4 jobs failed due to this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-discoveredDiscovered by an AI agent during workDiscovered by an AI agent during workinfrastructureDeployment, CI/CD, and infrastructure tasksDeployment, CI/CD, and infrastructure taskspriority: normalStandard maintenance workStandard maintenance worktype: bugSomething is not workingSomething is not working