Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 121313 Details for
Bug 82378
portage should not change PORT_LOGDIR permissions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
only set permissions on PORT_LOGDIR if it is created automatically
logdir_perms.patch (text/plain), 723 bytes, created by
Zac Medico
on 2007-06-06 06:04:30 UTC
(
hide
)
Description:
only set permissions on PORT_LOGDIR if it is created automatically
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-06-06 06:04:30 UTC
Size:
723 bytes
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 6743) >+++ pym/portage.py (revision 6744) >@@ -3262,8 +3262,10 @@ > del mysettings["PORT_LOGDIR"] > if "PORT_LOGDIR" in mysettings: > try: >- portage_util.ensure_dirs(mysettings["PORT_LOGDIR"], >- uid=portage_uid, gid=portage_gid, mode=02770) >+ modified = portage_util.ensure_dirs(mysettings["PORT_LOGDIR"]) >+ if modified: >+ apply_secpass_permissions(mysettings["PORT_LOGDIR"], >+ uid=portage_uid, gid=portage_gid, mode=02770) > except portage_exception.PortageException, e: > writemsg("!!! %s\n" % str(e), noiselevel=-1) > writemsg("!!! Permission issues with PORT_LOGDIR='%s'\n" % \
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 82378
: 121313