base-files should explicitly set permissions since it does not use dh_fixperms

Bug #871977 reported by Jamie Strandboge on 2011-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Low
Colin Watson
Precise
Low
Colin Watson

Bug Description

base-files does not use dh_fixperms which means that files added to it are subject to changes in umask. Spefically:
$ ar x /tmp/base-files_6.4ubuntu5_amd64.deb
$ tar -ztvf ./data.tar.gz |grep '^.....w'
...
-rw-rw-r-- root/root 82 2011-07-08 12:13 ./etc/dpkg/origins/debian
-rw-rw-r-- root/root 114 2011-07-08 12:13 ./etc/dpkg/origins/ubuntu
...

/etc/dpkg/origins/* should use appropriate arguments to 'install' in debian/rules.

Related branches

description: updated
Changed in base-files (Ubuntu Precise):
milestone: none → precise-alpha-1
status: New → Triaged
Colin Watson (cjwatson) on 2011-11-25
Changed in base-files (Ubuntu Precise):
importance: Undecided → Low
assignee: nobody → Colin Watson (cjwatson)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 6.5ubuntu3

---------------
base-files (6.5ubuntu3) precise; urgency=low

  * Fix permissions of /etc/dpkg/origins/* and
    /usr/share/doc/base-files/copyright (LP: #871977).
 -- Colin Watson <email address hidden> Fri, 25 Nov 2011 09:41:15 +0000

Changed in base-files (Ubuntu Precise):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers