[GH-ISSUE #28] Default user is unhelpful #18

Closed
opened 2026-03-01 21:39:09 +03:00 by kerem · 1 comment
Owner

Originally created by @sagebind on GitHub (Feb 8, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/28

By default containers are run using the default user (usually root), which may produce files or artifacts owned by root. Instead we should run the containers under the current user (command line equivalent would be --user $(id -u)).

Originally created by @sagebind on GitHub (Feb 8, 2019). Original GitHub issue: https://github.com/nektos/act/issues/28 By default containers are run using the default user (usually root), which may produce files or artifacts owned by root. Instead we should run the containers under the current user (command line equivalent would be `--user $(id -u)`).
kerem 2026-03-01 21:39:09 +03:00
Author
Owner

@cplee commented on GitHub (Feb 8, 2019):

@sagebind maybe this should be added as an optional flag. this was done intentionally to match the description of the GitHub Actions: https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/

Note: GitHub actions must be run by the default Docker user (root).

<!-- gh-comment-id:461862542 --> @cplee commented on GitHub (Feb 8, 2019): @sagebind maybe this should be added as an optional flag. this was done intentionally to match the description of the GitHub Actions: https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/ > Note: GitHub actions must be run by the default Docker user (root).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#18
No description provided.