projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3397d13
)
ensure-dirs: Fix permissions on master socket
author
Michael Hanselmann
<hansmi@google.com>
Fri, 12 Oct 2012 13:07:47 +0000
(15:07 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/lib/tools/ensure_dirs.py
b/lib/tools/ensure_dirs.py
index
5fdb723
..
868e36c
100644
(file)
--- a/
lib/tools/ensure_dirs.py
+++ b/
lib/tools/ensure_dirs.py
@@
-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),