summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-06 15:54:06 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-06 15:54:06 +0200
commit35f3ed061f10a25a3fb28bc988fddbb976344c4d (patch)
tree6d3c9753bb4190b008ce8968e11d60a655f2b7f0 /apt-pkg/init.cc
parent0b661a5cb3d3f25b47c21b98ddbaeb27985b8279 (diff)
edsp: prevent it from trying to write a cache
EDSP(-like) protocols are one-shot processes working on data which exists only as long as they run (as they get feed via a pipe), so trying to write a cache for it is pretty pointless, especially as it will usually fail as the cache files tend to be owned by root, but the process is run as a unpriviledged user (either _apt if called by root, otherwise the user of the caller). So this was in fact only observeable with our testcases which run as non-root and the worst which happens is that a valid cache is overridden with an invalid one which the next run will detect and not use. Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/init.cc')
0 files changed, 0 insertions, 0 deletions