We can also see that crash reporting works with /proc/sys/fs/protected_regular set to 1.
bdmurray@clean-eoan-amd64:~$ sudo cat /proc/sys/fs/protected_regular 1 bdmurray@clean-eoan-amd64:~$ sudo /usr/share/apport/whoopsie-upload-all Collecting info for /var/crash/_usr_share_dput_execute-dput.1000.crash... Marking /var/crash/_usr_share_dput_execute-dput.1000.crash for whoopsie upload All reports processed bdmurray@clean-eoan-amd64:~$ apt-cache policy apport apport: Installed: 2.20.11-0ubuntu8.5 Candidate: 2.20.11-0ubuntu8.5 Version table: *** 2.20.11-0ubuntu8.5 500 500 http://archive.ubuntu.com/ubuntu eoan-proposed/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu eoan-proposed/main i386 Packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1848064 Title: /usr/share/apport/whoopsie-upload- all:PermissionError:/usr/share/apport/whoopsie-upload- all@168:collect_info:process_report To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1848064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs