]> git.saurik.com Git - apt.git/commit
drop privileges in copy:// method as we do for file://
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 4 Nov 2015 12:19:14 +0000 (13:19 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 5 Nov 2015 11:21:33 +0000 (12:21 +0100)
commit30c8107e9c56d7d78dcf9136f94aeed9d631dfb3
treec8d9a601ab50de8d8cd059c2f84e94fedf4f8213
parent23d35ec15a849ee755f51a99939b0131e8faefa5
drop privileges in copy:// method as we do for file://

Continueing on the track of dropping privileges in all methods, lets
drop it in copy, too, as the reasoning for it is very similar to file
and the interaction between the too quiet interesting as copy kinda
surfed as a fallback for file not being able to read the file. Both now
show a better error message as well as it was previously claiming to
have a hashsum mismatch, given that it couldn't read the file.

Git-Dch: Ignore
apt-private/private-download.cc
methods/aptmethod.h [new file with mode: 0644]
methods/copy.cc
methods/file.cc
test/integration/test-apt-get-download
test/integration/test-apt-get-update-unauth-warning
test/integration/test-apt-update-failure-propagation
test/integration/test-apt-update-file