ensure-dirs: Fix permissions on master socket
authorMichael Hanselmann <hansmi@google.com>
Fri, 12 Oct 2012 13:07:47 +0000 (15:07 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 16 Oct 2012 14:38:06 +0000 (16:38 +0200)
A socket shouldn't have its executable bit set.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/tools/ensure_dirs.py

index 5fdb723..868e36c 100644 (file)
@@ -170,7 +170,7 @@ def GetPaths():
      getent.daemons_gid),
     (constants.SOCKET_DIR, DIR, 0750, getent.masterd_uid,
      getent.daemons_gid),
-    (constants.MASTER_SOCKET, FILE, 0770, getent.masterd_uid,
+    (constants.MASTER_SOCKET, FILE, 0660, getent.masterd_uid,
      getent.daemons_gid, False),
     (constants.BDEV_CACHE_DIR, DIR, 0755, getent.noded_uid,
      getent.masterd_gid),