Fixing this (the permissions of the .crash file) in the apport code for
recoverable_problem is not possible given who recoverable_problem is
running as.

I tried having recoverable_problem use os.chown(report_path,
pidstat.st_uid, gid) and this ended up creating a crash in
recoverable_problem.

Traceback:
 Traceback (most recent call last):
   File "/usr/share/apport/recoverable_problem", line 85, in <module>
     main()
   File "/usr/share/apport/recoverable_problem", line 77, in main
     os.chown(report_path, pidstat.st_uid, gid)
 OSError: [Errno 1] Operation not permitted: '/var/crash/_usr_share_click_preins
talled_com.ubuntu.filemanager_0.3.260_lib_arm-linux-gnueabihf_bin_filemanager.32
011.crash'

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

Title:
  recoverable problem crash files created which whoopsie cannot read

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

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

Reply via email to