module.nix: grant CAP_DAC_READ_SEARCH to daemon
This commit is contained in:
+4
-2
@@ -73,8 +73,10 @@ in {
|
||||
# PrivateUsers = true;
|
||||
# ProtectHome = true;
|
||||
|
||||
AmbientCapabilities = "";
|
||||
CapabilityBoundingSet = "";
|
||||
# NOTE: We need this capability to be able to read inside the home directories of users without
|
||||
# them needing to open their homedirs to the rest of the system.
|
||||
AmbientCapabilities = [ "CAP_DAC_READ_SEARCH" ];
|
||||
CapabilityBoundingSet = [ "CAP_DAC_READ_SEARCH" ];
|
||||
DeviceAllow = "";
|
||||
DevicePolicy = "closed";
|
||||
LockPersonality = true;
|
||||
|
||||
Reference in New Issue
Block a user