public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] BUG 11305: Suggested fix for '/var/log/btmp' permissions
@ 2017-04-28 19:29 Matthias Fischer
  0 siblings, 0 replies; only message in thread
From: Matthias Fischer @ 2017-04-28 19:29 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Fixes BUG 11305, for details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=11305

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-28 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-28 19:29 [PATCH] BUG 11305: Suggested fix for '/var/log/btmp' permissions Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox