Ubuntu Advantage file breaks snapcraft build

Bug #1922118 reported by Peter Jose De Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Expired
Undecided
Unassigned

Bug Description

Hi,

It would appear ubuntu advantage file at in auth.conf.d is created with 400 permissions.

This breaks snapcraft build with a permission error:

Sorry, an error occurred in Snapcraft:
[('/etc/apt/auth.conf.d/90ubuntu-advantage', '/home/pjds/.cache/snapcraft/stage-packages/etc/apt/auth.conf.d/90ubuntu-advantage', "[Errno 13] Permission denied: '/etc/apt/auth.conf.d/90ubuntu-advantage'")]
We would appreciate it if you anonymously reported this issue.
No other data than the traceback and the version of snapcraft in use will be sent.

Workaround:

Add read permissions to the file

Peter

description: updated
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

How was snapcraft run?

Changed in snapcraft:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snapcraft because there has been no activity for 60 days.]

Changed in snapcraft:
status: Incomplete → Expired
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.