projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07ceeb5
)
Make sure confcache files are writable by the portage group, not just the portage...
author
Marien Zwart
<marienz@gentoo.org>
Mon, 6 Feb 2006 01:41:10 +0000
(
01:41
-0000)
committer
Marien Zwart
<marienz@gentoo.org>
Mon, 6 Feb 2006 01:41:10 +0000
(
01:41
-0000)
svn path=/main/trunk/; revision=2671
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 4bd7a65ac99c9ed689fc438cbec6b6b5050606c7..f5949bd5ea6e6f1537374b85476cd359120896d0 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2685,8
+2685,8
@@
def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea
for x in listdir(mysettings["CONFCACHE_DIR"]):
p = os.path.join(mysettings["CONFCACHE_DIR"], x)
st = os.stat(p)
- if not (st.st_mode & 07777) & 076
00 == 060
0:
- os.chmod(p, (st.st_mode & 0777) | 06
0
0)
+ if not (st.st_mode & 07777) & 076
60 == 066
0:
+ os.chmod(p, (st.st_mode & 0777) | 06
6
0)
if not st.st_gid == portage_gid:
os.chown(p, -1, portage_gid)