summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsystem.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-08-05 12:55:11 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2017-09-09 17:19:48 +0200
commit149ee4017c7d21b420b7109ea7606012c9051d15 (patch)
treeddb0bcc0fd8e56a6296b03dbfb403a543964b629 /apt-pkg/deb/debsystem.cc
parent4d4459a5548e82224aac778833625358c0801681 (diff)
don't write & chmod /dev/null log files
APT by default logs terminal (term.log) and actions (history.log), but if either or Dir::Log directly is set to /dev/null it continues to do so, which isn't too bad – just wasted effort – but term.log is chmodded to protect it from the general public (as it may contain otherwise private data the admin entired in the terminal) which shouldn't happen for /dev/null.
Diffstat (limited to 'apt-pkg/deb/debsystem.cc')
0 files changed, 0 insertions, 0 deletions