From 6a5e841dd0f314c13f0ce5a117a1c91018a0a0da Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 27 Sep 2012 17:55:50 +0200 Subject: [PATCH] ensure-dirs: Don't hardcode ssconf file group Otherwise chown(2) will fail when noded doesn't run as root. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/tools/ensure_dirs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/ensure_dirs.py b/lib/tools/ensure_dirs.py index c577e3b8c..7ac5600fb 100644 --- a/lib/tools/ensure_dirs.py +++ b/lib/tools/ensure_dirs.py @@ -149,7 +149,7 @@ def GetPaths(): ss = ssconf.SimpleStore() for ss_path in ss.GetFileList(): paths.append((ss_path, FILE, constants.SS_FILE_PERMS, - getent.noded_uid, 0, False)) + getent.noded_uid, getent.noded_gid, False)) paths.extend([ (pathutils.QUEUE_DIR, DIR, 0700, getent.masterd_uid, -- GitLab