PermissionError: [Errno 13] Permission denied when capturing executable path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
New
|
Undecided
|
Unassigned |
Bug Description
My OS: Ubuntu 18.04.4 LTS (GNU/Linux 5.3.7-x86_
I've noticed that apport (version 2.20.9-0ubuntu7.9) is reporting a "permission denied" error when processing PHP-FPM 7.2 crashes, which is preventing the production of crash reports. This is what I see in /var/log/
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: called for pid 16308, signal 7, core limit 184467440737095
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: ignoring implausibly big core limit, treating as unlimited
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: not creating core for pid with dump mode of 2
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: Unhandled exception:
Traceback (most recent call last):
File "/usr/share/
info.
File "/usr/lib/
self[
PermissionError: [Errno 13] Permission denied: 'exe'
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: pid: 16310, uid: 33, gid: 33, euid: 0, egid: 0
ERROR: apport (pid 16310) Wed Feb 12 14:04:22 2020: environment: environ({})
/proc/16310/exe looks like this:
lrwxrwxrwx 1 root root 0 Feb 12 14:04 /proc/16310/exe -> /usr/sbin/
/usr/sbin/
-rwxr-xr-x 1 root root 4869304 Jan 13 13:39 /usr/sbin/