diff options
author | Michael Vogt <egon@bottom> | 2006-06-14 12:02:21 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2006-06-14 12:02:21 +0200 |
commit | 7d1d3984806f1a9b33638d11d84d7febbacfc91e (patch) | |
tree | da847f59aa9bc519803131ae7cdc967af095623e | |
parent | 3fd130fb87f03b372bd3a892b3c843799c56c9c6 (diff) | |
parent | 1790e0cf6a14ba2a3ccd8a8a926ca12a44d46d97 (diff) |
* merged from mainline
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index cc16215f5..28ed22d1b 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -540,6 +540,7 @@ void pkgAcqIndexDiffs::Done(string Message,unsigned long Size,string Md5Hash, << DestFile << " -> " << FinalFile << std::endl; } Rename(DestFile,FinalFile); + chmod(FinalFile.c_str(),0644); // see if there is more to download if(available_patches.size() > 0) { @@ -953,6 +954,7 @@ void pkgAcqMetaIndex::RetrievalDone(string Message) // Move it into position Rename(DestFile,FinalFile); } + chmod(FinalFile.c_str(),0644); DestFile = FinalFile; } diff --git a/debian/changelog b/debian/changelog index 300579ad7..0a04f4893 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ apt (0.6.44.2) unstable; urgency=low * apt-pkg/depcache.cc: - added Debug::pkgDepCache::AutoInstall (thanks to infinity) + * apt-pkg/acquire-item.cc: + - fix missing chmod() in the new aquire code (Closes: #367425) * merged from http://www.perrier.eu.org/debian/packages/d-i/level4/apt-main: * sk.po: Completed to 512t @@ -11,7 +13,7 @@ apt (0.6.44.2) unstable; urgency=low * Update all PO and the POT. Gives 506t6f for formerly complete translations - -- + -- Michael Vogt <mvo@debian.org> Wed, 14 Jun 2006 12:00:57 +0200 apt (0.6.44.1-0.1) unstable; urgency=low |