tags 367425 patch thanks The attached patch fixes the bug. Bastian -- A woman should have compassion. -- Kirk, "Catspaw", stardate 3018.2
diff -ur test/apt-0.6.44.1/apt-pkg/acquire-item.cc apt-0.6.44.1/apt-pkg/acquire-item.cc --- test/apt-0.6.44.1/apt-pkg/acquire-item.cc 2006-05-11 10:11:09.000000000 +0000 +++ apt-0.6.44.1/apt-pkg/acquire-item.cc 2006-06-14 07:03:32.000000000 +0000 @@ -540,6 +540,7 @@ << 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 @@ // Move it into position Rename(DestFile,FinalFile); } + chmod(FinalFile.c_str(),0644); DestFile = FinalFile; } diff -ur test/apt-0.6.44.1/debian/changelog apt-0.6.44.1/debian/changelog --- test/apt-0.6.44.1/debian/changelog 2006-06-08 22:53:00.000000000 +0000 +++ apt-0.6.44.1/debian/changelog 2006-06-13 18:18:17.000000000 +0000 @@ -1,3 +1,10 @@ +apt (0.6.44.1-0.2) unstable; urgency=low + + * Non-maintainer upload. + * Apply correct permissions to patched files. (closes: #367425) + + -- Bastian Blank <waldi@debian.org> Tue, 13 Jun 2006 18:17:45 +0000 + apt (0.6.44.1-0.1) unstable; urgency=low * Non-maintainer upload.
Attachment:
signature.asc
Description: Digital signature