aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorBen Radford <benradf@users.noreply.github.com>2023-07-11 11:24:11 +0100
committerBen Radford <benradf@users.noreply.github.com>2023-07-11 11:25:49 +0100
commitb8e8dfc3e8581a08bc179f75fbe61e04030088de (patch)
tree1925313842789790ca8178bc9bc1b414ea42ef0f /src/libstore/globals.hh
parenta193ec4052d9efa895681c438cc335296c7affea (diff)
Say a bit about default value in setting description.
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 9a9b4903f..81fa154bb 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -536,6 +536,10 @@ public:
If you encounter such a failure, setting this option to `false` will let you ignore it and continue.
But before doing so, you should consider the security implications carefully.
Not dropping supplementary groups means the build sandbox will be less restricted than intended.
+
+ This option defaults to `true` when the user is root
+ (since root usually has permissions to call setgroups)
+ and `false` otherwise.
)"};
#if __linux__