Bug 700171

Summary: [abrt] abrt-addon-ccpp-2.0.1-2.fc15: os.py:157:makedirs:OSError: [Errno 13] Permission denied: '/var/cache/abrt-di'
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ad1895d7af16e8d6a5482cfa9f01a2e82cc8bb23
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-28 16:43:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Steve Tyler 2011-04-27 16:22:26 UTC
abrt version: 2.0.1
executable: /usr/bin/abrt-action-install-debuginfo.py
cmdline: /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo.py
component: abrt
package: abrt-addon-ccpp-2.0.1-2.fc15
architecture: x86_64
kernel: 2.6.38.2-9.fc15.x86_64
reason: os.py:157:makedirs:OSError: [Errno 13] Permission denied: '/var/cache/abrt-di'
uid: 173
username: abrt
os_release: Fedora release 15 (Lovelock)
time: 1303499141

event_log
-----
2011-04-27-09:20:00> Empty login or password, please check your configuration
2011-04-27-09:20:00* (exited with 1)

backtrace
-----
os.py:157:makedirs:OSError: [Errno 13] Permission denied: '/var/cache/abrt-di'

Traceback (most recent call last):
  File "/usr/bin/abrt-action-install-debuginfo.py", line 422, in <module>
    result = downloader.download(missing)
  File "/usr/bin/abrt-action-install-debuginfo.py", line 262, in download
    os.makedirs(self.cachedir)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/cache/abrt-di'

Local variables in innermost frame:
tail: 'abrt-di'
head: '/var/cache'
name: '/var/cache/abrt-di'
mode: 511

Comment 1 Steve Tyler 2011-04-27 16:22:29 UTC
Created attachment 495287 [details]
File: backtrace

Comment 2 Steve Tyler 2011-04-27 16:24:26 UTC
abrt testing

Comment 3 Steve Tyler 2011-04-27 16:48:54 UTC
Reopening. I just realized this is from:
abrt-addon-ccpp-2.0.1-2.fc15

Comment 4 Jiri Moskovcak 2011-04-27 19:58:32 UTC
please check if /var/cache/abrt-di exists and has abrt:abrt as owner

Comment 5 Jiri Moskovcak 2011-04-27 20:06:06 UTC
please check if /var/cache/abrt-di exists and has abrt:abrt as owner and if it doesn't create it and chown it to abrt:abrt

Comment 6 Steve Tyler 2011-04-27 20:22:44 UTC
(In reply to comment #5)
> please check if /var/cache/abrt-di exists and has abrt:abrt as owner and if it
> doesn't create it and chown it to abrt:abrt

As of now:
$ ls -lFd /var/cache/abrt-di
drwxrwxr-x. 3 abrt abrt 4096 Apr 24 08:46 /var/cache/abrt-di/

However, the report is from:
time: 1303499141

Which is:
GMT: Fri, 22 Apr 2011 19:05:41 GMT
Your timezone: Fri 22 Apr 2011 12:05:41 PM PDT
http://www.epochconverter.com/

I didn't realize it was that old. It is probably from when I was trying to test if running abrt-gui as root would recreate abrt-di, so it is just a dupe of Bug 694305.

And I promise not to misconfigure /var/cache/abrt-di/ again ... :-)

Comment 7 Steve Tyler 2011-04-28 16:43:40 UTC

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