Skip to content

fix(agents): make baked payload readable#2419

Merged
elezar merged 1 commit into
mainfrom
fix-agents-payload-permissions
Jul 22, 2026
Merged

fix(agents): make baked payload readable#2419
elezar merged 1 commit into
mainfrom
fix-agents-payload-permissions

Conversation

@elezar

@elezar elezar commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Make the immutable agent payload readable and executable by the non-root sandbox user after it is copied into generated sandbox images.

Related Issue

None.

Changes

  • Add a generated Dockerfile permission step that applies chmod -R a+rX to /etc/openshell/agent-payload before removing write bits.
  • Preserve the existing immutable payload behavior with the following chmod -R a-w step.

Testing

  • bash -n scripts/agents/run.sh passes
  • bash scripts/agents/runtime/supervisor_test.sh passes
  • bash scripts/agents/gator/bin/gh_guard_test.sh passes
  • Live gator launch for PR refactor(compute): make sandbox readiness gateway-owned across all drivers #2153 reached sandbox Ready and started watch cycle 1
  • mise run pre-commit passes (skipped at operator request)
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar
elezar added this pull request to the merge queue Jul 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 22, 2026
@elezar
elezar added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit 7b444bd Jul 22, 2026
30 checks passed
@elezar
elezar deleted the fix-agents-payload-permissions branch July 22, 2026 19:39
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.

2 participants