[Bug 871977] [NEW] base-files should explicitly set permissions since it does not use dh_fixperms

Jamie Strandboge jamie at ubuntu.com
Mon Oct 10 19:55:13 UTC 2011


Public bug reported:

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.

** Affects: base-files (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: base-files (Ubuntu Precise)
     Importance: Undecided
         Status: Triaged

** Description changed:

  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.

** Also affects: base-files (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: base-files (Ubuntu Precise)
    Milestone: None => precise-alpha-1

** Changed in: base-files (Ubuntu Precise)
       Status: New => Triaged

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

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

Status in “base-files” package in Ubuntu:
  New
Status in “base-files” source package in Precise:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/871977/+subscriptions




More information about the foundations-bugs mailing list