From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] BUG 11305: Suggested fix for '/var/log/btmp' permissions Date: Fri, 28 Apr 2017 21:29:58 +0200 Message-ID: <20170428192958.23509-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2196547661277704214==" List-Id: --===============2196547661277704214== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Fixes BUG 11305, for details see: https://bugzilla.ipfire.org/show_bug.cgi?id=11305 Best, Matthias Signed-off-by: Matthias Fischer --- lfs/stage2 | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/stage2 b/lfs/stage2 index 2d2a6459d..1256fd365 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.11.0 --===============2196547661277704214==--