summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-10-01 11:01:02 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-10-06 19:33:01 +0200
commitfa8ace36188cd0c3c0a8e865785cd79788d523ee (patch)
tree16de20b690065289ce269f75d569522f1908e9d3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentb64632d21ab648f786633b2f8c85c5a0e4a6dfca (diff)
nixos: don't implicitly map missing user groups to `nogroup`
Before: `users.users.user1.group = "group-not-defined-anywhere-else"` would result in user1 having the primary group `nogroup`, assigned at activation time and only with a (easy to miss) warning from the activation script. This behaviour is a security issue becase no files should be owned by `nogroup` and it allows for unrelated users (and services) to accidentally have access to files they shouldn't have. After: The configuration above results in this eval error: - The following users have a primary group that is undefined: user1 Hint: Add this to your NixOS config: users.groups.group-not-defined-anywhere-else = {};
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions