Skip to content

Conversation

un-def
Copy link
Collaborator

@un-def un-def commented Jul 1, 2025

Use the runner process user (root expected) as the job user if the user directive is not specified in either the image or the dstack configuration.

Previously, the repo dir (/workflow) was used as a fallback for the home dir if the user is not specified.

Fixes: #2864

Use the runner process user (`root` expected) as the job user if
the `user` directive is not specified in either the image
or the dstack configuration.

Previously, the repo dir (`/workflow`) was used as a fallback for
the home dir if the user is not specified.

Fixes: #2864
@un-def un-def requested a review from jvstme July 1, 2025 15:43
un-def added 2 commits July 2, 2025 08:35
* Remove `path` if exists before unpacking
* Remove redundant checks and no longer relevant comments
@un-def un-def merged commit cdff7d1 into master Jul 2, 2025
25 checks passed
@un-def un-def deleted the issue_2864_fix_tilde_expansion_in_files branch July 2, 2025 08:47
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.

[Bug]: ~ in files resolves to /workflow if user is not set in either image or conf
2 participants