From: Matthias Fischer Date: Fri, 28 Apr 2017 19:29:58 +0000 (+0200) Subject: BUG 11305: Suggested fix for '/var/log/btmp' permissions X-Git-Tag: v2.19-core111~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=057aaf42b6c6f82eb14808b5167eec703bcc4989;p=ipfire-2.x.git BUG 11305: Suggested fix for '/var/log/btmp' permissions Fixes BUG 11305, for details see: https://bugzilla.ipfire.org/show_bug.cgi?id=11305 Best, Matthias Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer --- diff --git a/lfs/stage2 b/lfs/stage2 index 2d2a6459de..1256fd365e 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -127,6 +127,7 @@ endif -mkdir -pv /var/log/{counter,calamaris} chown nobody.nobody /var/log/calamaris touch /var/log/{btmp,lastlog,wtmp} + chmod -v 600 /var/log/btmp chgrp -v utmp /var/log/lastlog chmod -v 664 /var/log/lastlog