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