installer_debug.gz fails due to permissions trouble

Bug #1316696 reported by Chris Gregan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Unassigned

Bug Description

Build Version/Date: 1.9
Environment used for testing: Trusty

Summary:
gzip reports permissions denied for /var/log/installer/debug

Steps to Reproduce:
1) Run any suite

Expected result:

Actual result:

Related branches

Chris Gregan (cgregan)
Changed in cdts:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Daniel Manrique (roadmr)
Revision history for this message
Daniel Manrique (roadmr) wrote :

This is an easy one :)

$ ls -la /var/log/installer/
total 960
drwxrwxr-x 2 root root 4096 Mar 24 09:10 .
drwxrwxr-x 15 root syslog 4096 May 6 10:40 ..
-rw------- 1 root root 1175 Mar 4 16:23 casper.log
-rw------- 1 root root 4861 Mar 4 16:29 debug
-rw-rw-r-- 1 root root 488966 Mar 4 16:30 initial-status.gz
-rw-r--r-- 1 root root 55 Mar 4 16:30 media-info
-rw------- 1 root root 184116 Mar 4 16:25 partman
-rw------- 1 syslog adm 276899 Mar 24 09:10 syslog
-rw------- 1 root root 16 Mar 4 16:23 version

Notice debug is readable only by root, yet the job doesn't specify user: root. Adding this to the job definition will clear this problem up.

It's an attachment, so this bug has been there forever, we just never noticed because checkbox-old ate attachment failures.

Changed in cdts:
status: Confirmed → Triaged
Chris Gregan (cgregan)
information type: Proprietary → Public
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
status: New → Triaged
importance: Undecided → Medium
Daniel Manrique (roadmr)
Changed in cdts:
status: Triaged → In Progress
Changed in plainbox-provider-checkbox:
status: Triaged → In Progress
Chris Gregan (cgregan)
Changed in cdts:
milestone: none → version2.0
Changed in cdts:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
milestone: none → 0.6
Chris Gregan (cgregan)
Changed in cdts:
status: Fix Committed → Fix Released
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.