]> git.saurik.com Git - apt.git/commitdiff
* merged from mainline
authorMichael Vogt <egon@bottom>
Wed, 14 Jun 2006 10:02:21 +0000 (12:02 +0200)
committerMichael Vogt <egon@bottom>
Wed, 14 Jun 2006 10:02:21 +0000 (12:02 +0200)
apt-pkg/acquire-item.cc
debian/changelog

index cc16215f5f97df2572dbc1010d9e37f630fc6f98..28ed22d1bd933280e267cd5e6c3330904b884a51 100644 (file)
@@ -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;
 }
 
index 300579ad7166af23656f5e1cb99d5c46806e6f4a..0a04f48931a9be0ebad17b92e7cc472c99eb45a2 100644 (file)
@@ -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