public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r15218 - main/trunk/pym/portage
@ 2010-01-29 17:53 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-01-29 17:53 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2010-01-29 17:53:39 +0000 (Fri, 29 Jan 2010)
New Revision: 15218

Modified:
   main/trunk/pym/portage/__init__.py
Log:
In portage.spawn(), apply group write permission to the log file.


Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py	2010-01-29 16:40:08 UTC (rev 15217)
+++ main/trunk/pym/portage/__init__.py	2010-01-29 17:53:39 UTC (rev 15218)
@@ -4158,6 +4158,8 @@
 
 	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]




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-29 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 17:53 [gentoo-commits] portage r15218 - main/trunk/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox