Fix permission for socket directory
authorBernardo Dal Seno <bdalseno@google.com>
Mon, 29 Oct 2012 17:44:35 +0000 (18:44 +0100)
committerBernardo Dal Seno <bdalseno@google.com>
Mon, 29 Oct 2012 22:59:50 +0000 (23:59 +0100)
The directory must we writable also by the confd daemon user.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/tools/ensure_dirs.py

index 67e90ea..afe4877 100644 (file)
@@ -171,7 +171,7 @@ def GetPaths():
      getent.masterd_gid, False),
     (pathutils.RUN_DIR, DIR, 0775, getent.masterd_uid,
      getent.daemons_gid),
-    (pathutils.SOCKET_DIR, DIR, 0750, getent.masterd_uid,
+    (pathutils.SOCKET_DIR, DIR, 0770, getent.masterd_uid,
      getent.daemons_gid),
     (pathutils.MASTER_SOCKET, FILE, 0660, getent.masterd_uid,
      getent.daemons_gid, False),