projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c735f56
)
In portage.spawn(), apply group write permission to the log file. (trunk r15218)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:52:52 +0000
(18:52 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:52:52 +0000
(18:52 -0000)
svn path=/main/branches/2.1.7/; revision=15268
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 3f0c00a406856149f8e5ef8d48a6af7618325077..4e810d90fd7a6e35dd34ce436f078f3c9c2a0e44 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-4158,6
+4158,8
@@
def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
if logfile:
log_file = open(_unicode_encode(logfile), mode='ab')
+ apply_secpass_permissions(logfile,
+ uid=portage_uid, gid=portage_gid, mode=0o664)
stdout_file = os.fdopen(os.dup(fd_pipes_orig[1]), 'wb')
master_file = os.fdopen(master_fd, 'rb')
iwtd = [master_file]