changeset 5823:c1b32cd98e68 HEAD

Preserve DAC_OVERRIDE capability. We may want to open any config/log files.
author root@hurina
date Thu, 28 Jun 2007 02:12:19 +0300
parents 3cb7ddfee63c
children 5d0aa827f130
files src/master/capabilities-posix.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/capabilities-posix.c	Thu Jun 28 01:59:14 2007 +0300
+++ b/src/master/capabilities-posix.c	Thu Jun 28 02:12:19 2007 +0300
@@ -13,7 +13,9 @@
 		CAP_SYS_CHROOT,
 		CAP_SETUID,
 		CAP_SETGID,
-		CAP_NET_BIND_SERVICE
+		CAP_NET_BIND_SERVICE,
+		/* we may want to open any config/log files */
+		CAP_DAC_OVERRIDE
 	};
 	cap_t caps;