From: Balazs Lecz Date: Fri, 17 May 2013 10:23:24 +0000 (+0100) Subject: Fix owner of the OS log dir X-Git-Tag: v2.7.0rc2~8 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/6b3f0d7e51f395b8f4c5072113e98f1674dc99a4 Fix owner of the OS log dir The OS log dir is used by noded, not masterd. Signed-off-by: Balazs Lecz Reviewed-by: Guido Trotter --- diff --git a/lib/tools/ensure_dirs.py b/lib/tools/ensure_dirs.py index b4409cc..218350c 100644 --- a/lib/tools/ensure_dirs.py +++ b/lib/tools/ensure_dirs.py @@ -194,7 +194,7 @@ def GetPaths(): (confd_log, FILE, 0600, getent.confd_uid, getent.masterd_gid, False), (noded_log, FILE, 0600, getent.noded_uid, getent.masterd_gid, False), (rapi_log, FILE, 0600, getent.rapi_uid, getent.masterd_gid, False), - (pathutils.LOG_OS_DIR, DIR, 0750, getent.masterd_uid, getent.daemons_gid), + (pathutils.LOG_OS_DIR, DIR, 0750, getent.noded_uid, getent.daemons_gid), (cleaner_log_dir, DIR, 0750, getent.noded_uid, getent.noded_gid), (master_cleaner_log_dir, DIR, 0750, getent.masterd_uid, getent.masterd_gid), ])