From 057aaf42b6c6f82eb14808b5167eec703bcc4989 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Fri, 28 Apr 2017 21:29:58 +0200 Subject: [PATCH] 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 --- lfs/stage2 | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5