1 |
Author: zmedico |
2 |
Date: 2010-01-29 18:52:52 +0000 (Fri, 29 Jan 2010) |
3 |
New Revision: 15268 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.7/pym/portage/__init__.py |
7 |
Log: |
8 |
In portage.spawn(), apply group write permission to the log file. (trunk r15218) |
9 |
|
10 |
Modified: main/branches/2.1.7/pym/portage/__init__.py |
11 |
=================================================================== |
12 |
--- main/branches/2.1.7/pym/portage/__init__.py 2010-01-29 18:52:44 UTC (rev 15267) |
13 |
+++ main/branches/2.1.7/pym/portage/__init__.py 2010-01-29 18:52:52 UTC (rev 15268) |
14 |
@@ -4158,6 +4158,8 @@ |
15 |
|
16 |
if logfile: |
17 |
log_file = open(_unicode_encode(logfile), mode='ab') |
18 |
+ apply_secpass_permissions(logfile, |
19 |
+ uid=portage_uid, gid=portage_gid, mode=0o664) |
20 |
stdout_file = os.fdopen(os.dup(fd_pipes_orig[1]), 'wb') |
21 |
master_file = os.fdopen(master_fd, 'rb') |
22 |
iwtd = [master_file] |