projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4f024
)
Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278. This patch is from...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 02:04:19 +0000
(
02:04
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 02:04:19 +0000
(
02:04
-0000)
svn path=/main/branches/2.1/; revision=3559
pym/elog_modules/mod_save.py
patch
|
blob
|
history
diff --git
a/pym/elog_modules/mod_save.py
b/pym/elog_modules/mod_save.py
index 6c16c20413df96d07333d417f314d5f2fb96a18d..4e1cd2cf8fc384ba95c85a4873602e87dad588b3 100644
(file)
--- 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, 0
2
770)
elogfilename = elogdir+"/"+cpv_path+":"+time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time()))+".log"
elogfile = open(elogfilename, "w")