summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-03-31 17:30:46 +0100
committerSadie Powell <sadie@witchery.services>2020-03-31 17:33:55 +0100
commitbec70fca51a6094380f890f1d5b89cf9c6ab46bd (patch)
tree3b4f9f54543ca20ed724029053a83411ca206c43 /configure
parenta5cb6b99fb781d4b8e63f98d0644e02f75e54608 (diff)
Add a comment for packagers who delete the --{uid,gid} checks.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index ccb551ce5..2fb332b59 100755
--- a/configure
+++ b/configure
@@ -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;
}