[Bug 917845] Re: apt-ftparchive sets permission of Packages file to 001 to

Evan Broder evan at ebroder.net
Wed Feb 29 17:10:24 UTC 2012


** Branch linked: lp:~l3on/ubuntu/lucid/apt/fix-917845

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

Title:
  apt-ftparchive sets permission of Packages file to 001 to

Status in “apt” package in Ubuntu:
  New
Status in “apt” package in Debian:
  Fix Released

Bug description:
  [Impact]
  <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>

  [Development Fix]
  <fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >

  [Stable Fix]
  <fill me in by pointing out a minimal patch applicable to the stable version of the package.>

  [Text Case]
  <fill me in with detailed *instructions* on how to reproduce the bug.  This will be used by people later on to verify the updated package fixes the problem.>
  1.
  2.
  3.
  Broken Behavior: 
  Fixed Behavior: 

  [Regression Potential]
  <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected. 

  [Original Report]
  This is the same as Debian Bug#595922 and was introduced in 0.7.25.3ubuntu9.9. It was not present in 0.7.25.3ubuntu9.7.

  apt-ftparchive changes permissions on the Packages files to 001:

  strace -F -e chmod /usr/bin/apt-ftparchive generate conf/apt-
  ftparchive.conf

  chmod("./dists/lucid/main/binary-amd64/Packages.bz2", 01) = 0
  chmod("./dists/lucid/main/binary-amd64/Packages.gz", 01) = 0
  chmod("./dists/lucid/main/binary-amd64/Packages", 01) = 0

  E: Could not open file ./dists/lucid/main/binary-amd64/Packages - open (13: Permission denied)
  E: Error processing contents dists/lucid/Contents-amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/917845/+subscriptions




More information about the foundations-bugs mailing list