diff options
author | Sadie Powell <sadie@witchery.services> | 2020-03-31 17:30:46 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-03-31 17:33:55 +0100 |
commit | bec70fca51a6094380f890f1d5b89cf9c6ab46bd (patch) | |
tree | 3b4f9f54543ca20ed724029053a83411ca206c43 | |
parent | a5cb6b99fb781d4b8e63f98d0644e02f75e54608 (diff) |
Add a comment for packagers who delete the --{uid,gid} checks.
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -226,6 +226,7 @@ unprivileged user/group to build and run as or pass the '--gid [id|name]' flag to specify an unprivileged group to run as. EOW if (!prompt_bool $interactive, "Are you sure you want to build as the $group[0] group?", 0) { + # PACKAGERS: You do not need to delete this check. Use `--gid $(id -g)` or `--gid 0` instead. say STDERR "If you are sure you want to build as the $group[0] group pass the --gid $group[2] flag." unless $interactive; exit 1; } @@ -252,6 +253,7 @@ unprivileged user/group to build and run as or pass the '--uid [id|name]' flag to specify an unprivileged user to run as. EOW if (!prompt_bool $interactive, "Are you sure you want to build as the $user[0] user?", 0) { + # PACKAGERS: You do not need to delete this check. Use `--uid $(id -u)` or `--uid 0` instead. say STDERR "If you are sure you want to build as the $user[0] user pass the --uid $user[2] flag." unless $interactive; exit 1; } |