diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-08-05 12:55:11 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-09-09 17:19:48 +0200 |
commit | 149ee4017c7d21b420b7109ea7606012c9051d15 (patch) | |
tree | ddb0bcc0fd8e56a6296b03dbfb403a543964b629 /cmdline/apt.cc | |
parent | 4d4459a5548e82224aac778833625358c0801681 (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 'cmdline/apt.cc')
0 files changed, 0 insertions, 0 deletions