Cannot import package that contains file with 0 permissions

Bug #1987415 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Triaged
Low
Unassigned

Bug Description

Importing combat (0.8.1-1) fails with:

Aug 23 13:30:48 juju-ad5025-prod-git-ubuntu-10 git-ubuntu[17861]: 08/23/2022 13:30:47 - ERROR:stderr: gbp:error: Import of /tmp/tmp93_ek4pt/.git/git-ubuntu-cache/combat_0.8.1.orig.tar.gz failed: Error running git add: error: open("LICENSE.txt"): Permission denied
Aug 23 13:30:48 juju-ad5025-prod-git-ubuntu-10 git-ubuntu[17861]: error: unable to index file 'LICENSE.txt'
Aug 23 13:30:48 juju-ad5025-prod-git-ubuntu-10 git-ubuntu[17861]: fatal: adding files failed

If I extract the source, I find that LICENSE.txt has permissions of 0 (ie. unreadable for anyone).

I believe this is representable in git but will need special handling.

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.