Skip to content

Fix local items file permissions - #170

Merged
mikehorgan-dell merged 2 commits into
mainfrom
fix/v5.13-items-file-permissions
Aug 4, 2026
Merged

Fix local items file permissions#170
mikehorgan-dell merged 2 commits into
mainfrom
fix/v5.13-items-file-permissions

Conversation

@mikehorgan-dell

@mikehorgan-dell mikehorgan-dell commented Aug 4, 2026

Copy link
Copy Markdown
Member

Description

Fix local Docker reads from saved item lists when the source CSV is not readable by the non-root engine user.

SPT downloads result artifacts with mode 0600. When the CLI is run as root, a saved items.csv is therefore root-owned and cannot be read by the container image user spt. The local launcher previously bind-mounted that source file directly, causing the engine to report that it could not open /spt-input/items/read-items.csv.

Local Docker runs now stage an exact temporary copy, explicitly set the copy to read-only mode 0444, and bind-mount that copy. The original file and its permissions remain unchanged. Staged files are removed during both normal cleanup and manager close. Remote execution is unchanged because it already stages item files and applies 0444.

@mikehorgan-dell
mikehorgan-dell merged commit 11619ce into main Aug 4, 2026
6 checks passed
@mikehorgan-dell
mikehorgan-dell deleted the fix/v5.13-items-file-permissions branch August 4, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant