[Bug 1675928] Re: apport crashes if you can't read .xession-errors

Brian Murray brian at ubuntu.com
Tue May 9 21:44:55 UTC 2017


** Changed in: apport (Ubuntu)
    Milestone: ubuntu-17.04 => ubuntu-17.05

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1675928

Title:
  apport crashes if you can't read .xession-errors

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Triaged

Bug description:
  Change the owner of .xsessions-errors

  sudo chown root ~/.xsession-errors

  Run this code

   $ python3
  Python 3.5.2+ (default, Sep 22 2016, 12:18:14) 
  [GCC 6.2.0 20160927] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from apport import hookutils
  >>> hookutils.xsession_errors()
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/home/bdmurray/source-trees/apport/trunk/apport/hookutils.py", line 521, in xsession_errors
      with open(path, 'rb') as f:
  PermissionError: [Errno 13] Permission denied: '/home/bdmurray/.xsession-errors'

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1675928/+subscriptions



More information about the foundations-bugs mailing list