Skip to content

Commit

Permalink
nixos/clamav: set "clamav" user's primary group to "clamav"
Browse files Browse the repository at this point in the history
So that the files created by the clamav service is owned by group
"clamav" instead of "nogroup".

(cherry picked from commit 4c803b9)
  • Loading branch information
bjornfor committed Jan 15, 2017
1 parent 22c675d commit 30bb4aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/security/clamav.nix
Expand Up @@ -81,6 +81,7 @@ in
users.extraUsers = singleton {
name = clamavUser;
uid = config.ids.uids.clamav;
group = clamavGroup;
description = "ClamAV daemon user";
home = stateDir;
};
Expand Down

0 comments on commit 30bb4aa

Please sign in to comment.