On Wed, 2010-06-23 at 22:34 +0300, Ville Skyttä wrote: > --- > yumcommands.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yumcommands.py b/yumcommands.py > index dcf72db..093c4b8 100644 > --- a/yumcommands.py > +++ b/yumcommands.py > @@ -1328,8 +1328,8 @@ class HistoryCommand(YumCommand): > base.logger.critical(_('Invalid history sub-command, use: %s.'), > ", ".join(cmds)) > raise cli.CliError > + checkRootUID(base) > if extcmds and extcmds[0] in ('repeat', 'redo', 'undo', 'new'): > - checkRootUID(base)
NAK, we want to check os.access() on the history file not just assume root. _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel