From: Michael Vogt Date: Wed, 14 Jun 2006 10:02:21 +0000 (+0200) Subject: * merged from mainline X-Git-Tag: 0.7.21~316 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/7d1d3984806f1a9b33638d11d84d7febbacfc91e?hp=3fd130fb87f03b372bd3a892b3c843799c56c9c6 * merged from mainline --- 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 Wed, 14 Jun 2006 12:00:57 +0200 apt (0.6.44.1-0.1) unstable; urgency=low