Public bug reported:

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'

** Affects: apport
     Importance: Undecided
         Status: New

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: apport
   Importance: Undecided
       Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to