From 90fe68184ba60bd14241b3978f164ced4eff8ebf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 13 Jun 2006 00:06:32 +0000 Subject: [PATCH] Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278. svn path=/main/trunk/; revision=3502 --- pym/elog_modules/mod_save.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/elog_modules/mod_save.py b/pym/elog_modules/mod_save.py index 6c16c2041..fa728fe31 100644 --- a/pym/elog_modules/mod_save.py +++ b/pym/elog_modules/mod_save.py @@ -11,7 +11,7 @@ def process(mysettings, cpv, logentries, fulltext): if not os.path.exists(elogdir): os.makedirs(elogdir) os.chown(elogdir, portage_uid, portage_gid) - os.chmod(elogdir, 0770) + os.chmod(elogdir, 2770) elogfilename = elogdir+"/"+cpv_path+":"+time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time()))+".log" elogfile = open(elogfilename, "w") -- 2.26.2