Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 717680 Details for
Bug 928833
yum langinstall still installs packages without root permission
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch against existing patched source
yum-langpacks-root-user-permission.patch (text/plain), 1.50 KB, created by
Parag Nemade
on 2013-03-28 14:27:33 UTC
(
hide
)
Description:
patch against existing patched source
Filename:
MIME Type:
Creator:
Parag Nemade
Created:
2013-03-28 14:27:33 UTC
Size:
1.50 KB
patch
obsolete
>--- langpacks.py.orig 2013-03-28 19:55:58.106408410 +0530 >+++ langpacks.py 2013-03-28 19:57:42.417411610 +0530 >@@ -17,7 +17,7 @@ > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > >-from yum.plugins import TYPE_INTERACTIVE >+from yum.plugins import TYPE_CORE > > from yum.constants import * > >@@ -38,7 +38,7 @@ > print >>sys.stderr, '%s: %s' % (filename, str(e)) > > requires_api_version = '2.5' >-plugin_type = TYPE_INTERACTIVE >+plugin_type = TYPE_CORE > > langs = [] > langinstalled = [] >@@ -130,7 +130,7 @@ > if hasattr(parser, 'plugin_option_group'): > parser = parser.plugin_option_group > >- if hasattr(conduit, 'registerCommand'): >+ if hasattr(conduit._base, 'registerCommand'): > conduit.registerCommand(LanginstallCommand()) > conduit.registerCommand(LangremoveCommand()) > conduit.registerCommand(LanglistCommand()) >@@ -336,6 +336,8 @@ > pass > > def doCommand(self, base, basecmd, extcmds): >+ if base.conf.uid != 0: >+ return 1, ['You need to be root to perform this command.'] > base.repos.doSetup() > for lang in extcmds: > add_matches_from_ts(None, lang, base) >@@ -366,6 +368,8 @@ > pass > > def doCommand(self, base, basecmd, extcmds): >+ if base.conf.uid != 0: >+ return 1, ['You need to be root to perform this command.'] > base.repos.doSetup() > for lang in extcmds: > remove_matches_from_ts(None, lang, base)
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 928833
: 717680