fix deluge permissions
This commit is contained in:
parent
ca9882e39c
commit
8e7321f6ea
1 changed files with 6 additions and 0 deletions
|
@ -163,6 +163,12 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
systemd.services.deluged.serviceConfig.UMask = lib.mkForce "0027";
|
||||||
|
systemd.services.deluged.serviceConfig.Group = lib.mkForce "media";
|
||||||
|
users.users.deluge = {
|
||||||
|
extraGroups = [ "media" ];
|
||||||
|
};
|
||||||
|
|
||||||
users.groups.deluge = {
|
users.groups.deluge = {
|
||||||
members = [ "backup" ];
|
members = [ "backup" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue