[Bug 1675928] Re: apport crashes if you can't read .xession-errors
Launchpad Bug Tracker
1675928 at bugs.launchpad.net
Wed May 17 16:12:39 UTC 2017
This bug was fixed in the package apport - 2.20.5-0ubuntu3
---------------
apport (2.20.5-0ubuntu3) artful; urgency=medium
* Revert change to test/test_crash_digger.py to use the source's
crash-digger.
-- Brian Murray <brian at ubuntu.com> Mon, 15 May 2017 16:00:06 -0700
** Changed in: apport (Ubuntu)
Status: Triaged => Fix Released
--
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:
Fix Released
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