I personally noticed this with a crash file with the following permissions:
-rw-r----- 1 bdmurray whoopsie 194K Feb 7 15:22 _usr_bin_seeded-in-ubuntu.1000.crash
whoopsie-upload-all, which runs as root, is unable to append to the crash file due to /proc/sys/fs/protected_regular being set to 1. Changing that file to 0 allows whoopsie-upload-all to run. Here's a simple test case, thanks Steve!
I personally noticed this with a crash file with the following permissions:
-rw-r----- 1 bdmurray whoopsie 194K Feb 7 15:22 _usr_bin_ seeded- in-ubuntu. 1000.crash
whoopsie- upload- all, which runs as root, is unable to append to the crash file due to /proc/sys/ fs/protected_ regular being set to 1. Changing that file to 0 allows whoopsie-upload-all to run. Here's a simple test case, thanks Steve!
# echo 0 > /proc/sys/ fs/protected_ regular var/crash/ _usr_bin_ reportbug. 1000.crash' , 'ab')" fs/protected_ regular var/crash/ _usr_bin_ reportbug. 1000.crash' , 'ab')" _usr_bin_ reportbug. 1000.crash'
# python3 -c "foo = open('/
# echo 1 > /proc/sys/
# python3 -c "foo = open('/
Traceback (most recent call last):
File "<string>", line 1, in <module>
PermissionError: [Errno 13] Permission denied: '/var/crash/