nixos/tetrd: remove CAP_DAC_OVERRIDE
That's just a bonkers capability to hand out because a program uses stupid paths that it does not have permissions on.
This commit is contained in:
@@ -89,17 +89,14 @@
|
||||
|
||||
BindPaths = [
|
||||
"/etc/tetrd/resolv.conf:/etc/resolv.conf"
|
||||
"/run"
|
||||
"/var/log"
|
||||
"/run/tetrd:/run"
|
||||
];
|
||||
|
||||
CapabilityBoundingSet = [
|
||||
"CAP_DAC_OVERRIDE"
|
||||
"CAP_NET_ADMIN"
|
||||
];
|
||||
|
||||
AmbientCapabilities = [
|
||||
"CAP_DAC_OVERRIDE"
|
||||
"CAP_NET_ADMIN"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user