]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
BUG 11305: Suggested fix for '/var/log/btmp' permissions
authorMatthias Fischer <matthias.fischer@ipfire.org>
Fri, 28 Apr 2017 19:29:58 +0000 (21:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 May 2017 16:05:39 +0000 (17:05 +0100)
Fixes BUG 11305, for details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=11305

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/stage2

index 2d2a6459de9424e683b7d643f7af5c9710aa6db5..1256fd365ebadac5bcfaff416048e57765e3fc76 100644 (file)
@@ -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