Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65095 Details for
Bug 99120
Portage 2.0.51.22-r1 with ccache and userpriv set checks CCACHE_DIR permissions incorrectly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch of the /usr/lib/portage/pym/portage.py
portage.py.unified.diff.patch (text/plain), 758 bytes, created by
Jaroslav Henner
on 2005-08-04 13:54:20 UTC
(
hide
)
Description:
patch of the /usr/lib/portage/pym/portage.py
Filename:
MIME Type:
Creator:
Jaroslav Henner
Created:
2005-08-04 13:54:20 UTC
Size:
758 bytes
patch
obsolete
>--- /usr/lib/portage/pym/portage.py 2005-08-04 22:47:08.000000000 +0200 >+++ /usr/lib/portage/pym/portage.py.new 2005-08-04 22:48:33.000000000 +0200 >@@ -2524,7 +2524,7 @@ > os.makedirs(mysettings["CCACHE_DIR"]) > mystat = os.stat(mysettings["CCACHE_DIR"]) > if ("userpriv" in features): >- if mystat[stat.ST_UID] != portage_gid or ((mystat[stat.ST_MODE]&02070)!=02070): >+ if mystat[stat.ST_UID] != portage_uid or ((mystat[stat.ST_MODE]&02070)!=02070): > writemsg("* Adjusting permissions on ccache in %s\n" % mysettings["CCACHE_DIR"]) > spawn("chgrp -R "+str(portage_gid)+" "+mysettings["CCACHE_DIR"], mysettings, free=1) > spawn("chown "+str(portage_uid)+":"+str(portage_gid)+" "+mysettings["CCACHE_DIR"], mysettings, free=1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 99120
: 65095