Skip to content

runner: launcher-done marker fails with permission denied #740

Todo

Description

@mayawang

Split out from #722 before #738 closes it.

After a successful auto-launcher run, markLauncherDone logs:

failed to record that the launcher finished path=/workspace/.ax/launcher-done error="open /workspace/.ax/launcher-done: permission denied"

ax-runner runs as root without CAP_DAC_OVERRIDE, and /workspace/.ax is owned by UID 1000 with mode 0755 after ensureWritableForUser drops permissions. As a result, a resumed starter task re-runs its one-shot agent.

Code path: markLauncherDone in runner/launcher.go (called from runner/runner.go).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions