Bug 1464587 - [abrt] yum: yumRepo.py:711:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/rhel-7-server-thirdpart...
[abrt] yum: yumRepo.py:711:_dirSetupMkdir_p:RepoError: Error making cache dir...
Status: CLOSED DUPLICATE of bug 1460393
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum (Show other bugs)
7.3
x86_64 Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Valentina Mukhamedzhanova
BaseOS QE Security Team
abrt_hash:66c936a4ea28b8e8ae59be7a397...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-23 16:34 EDT by Diamantis Karagkiaouris
Modified: 2017-07-11 05:14 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-11 05:14:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (1.96 KB, text/plain)
2017-06-23 16:34 EDT, Diamantis Karagkiaouris
no flags Details

  None (edit)
Description Diamantis Karagkiaouris 2017-06-23 16:34:12 EDT
Version-Release number of selected component:
yum-3.4.3-150.el7

Additional info:
reporter:       libreport-2.1.11.1
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available rocket
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.10.0-514.21.2.el7.x86_64
pkg_fingerprint: 199E 2F91 FD43 1D51
pkg_vendor:     Red Hat, Inc.
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
yumRepo.py:711:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms'

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
    main(sys.argv[1:])
  File "/usr/share/yum-cli/completion-helper.py", line 83, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 353, in getOptionsConfig
    self.parseCommands() # before we return check over the base command + args
  File "/usr/share/yum-cli/cli.py", line 395, in parseCommands
    self._set_repos_cache_req()
  File "/usr/share/yum-cli/cli.py", line 417, in _set_repos_cache_req
    if not os.path.exists(repo.metadata_cookie):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 783, in <lambda>
    metadata_cookie = property(lambda self: self._dirGetAttr('metadata_cookie'))
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 755, in _dirGetAttr
    self.dirSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 734, in dirSetup
    self._dirSetupMkdir_p(dir)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 711, in _dirSetupMkdir_p
    raise Errors.RepoError, msg
RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms'

Local variables in innermost frame:
msg: "Error making cache directory: /var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms'"
dpath: '/var/cache/yum/x86_64/7Server/rhel-7-server-thirdparty-oracle-java-rpms'
self: <yum.yumRepo.YumRepository object at 0x24a7450>
e: OSError(13, 'Permission denied')
Comment 1 Diamantis Karagkiaouris 2017-06-23 16:34:17 EDT
Created attachment 1291274 [details]
File: backtrace
Comment 3 Karel Srot 2017-07-11 05:14:17 EDT

*** This bug has been marked as a duplicate of bug 1460393 ***

Note You need to log in before you can comment on or make changes to this bug.