Skip to content

fix: switch to root for venv chown when inheriting non-root context - #53

Merged
markhedleyjones merged 1 commit into
mainfrom
fix/venv-chown-user-context
Mar 26, 2026
Merged

fix: switch to root for venv chown when inheriting non-root context#53
markhedleyjones merged 1 commit into
mainfrom
fix/venv-chown-user-context

Conversation

@markhedleyjones

Copy link
Copy Markdown
Owner

The venv chown step failed with "Operation not permitted" when the base stage ended with become: user, because the leaf stage inherited the non-root user context. Now wraps the chown with USER root / USER restore, matching the pattern used by venv_setup.

The venv chown step failed with "Operation not permitted" when the base
stage ended with become: user, because the leaf stage inherited the
non-root user context. Now wraps the chown with USER root / USER
restore, matching the pattern used by venv_setup.
@markhedleyjones
markhedleyjones merged commit a9d10fb into main Mar 26, 2026
8 checks passed
@markhedleyjones
markhedleyjones deleted the fix/venv-chown-user-context branch March 26, 2026 09:07
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