RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 614263 - Report gives a traceback if it cannot read the specified file
Summary: Report gives a traceback if it cannot read the specified file
Keywords:
Status: CLOSED DUPLICATE of bug 614274
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Gavin Romig-Koch
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-14 00:37 UTC by Scott Dodson
Modified: 2010-07-14 02:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-14 02:02:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Scott Dodson 2010-07-14 00:37:04 UTC
Description of problem:
If the user running report doesn't have read permissions to the specified file it results in a python traceback.

Version-Release number of selected component (if applicable):
0.18-3

  
Actual results:
[sdodson@dhcp242-213 ~]$ report /var/log/abrt.log 
Traceback (most recent call last):
  File "/usr/bin/report", line 149, in <module>
    signature = report.createSimpleFileSignature(opts.filename, isBinary)
  File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 222, in createSimpleFileSignature
    { "simpleFile" : NamedFileSignatureValue(exnFileName, isBinary) }
  File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 121, in __init__
    file(fileLocation).read(1)
IOError: [Errno 13] Permission denied: '/var/log/abrt.log'


Expected results:
Clean error message.

Additional info:

Comment 2 Scott Dodson 2010-07-14 02:02:21 UTC

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


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