[Buildroot] [git commit] system/permissions: /etc/random-seed must be mode 600

Peter Korsgaard peter at korsgaard.com
Tue Nov 25 21:37:43 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=87fd1bd5ce27f1ea1e6809c0c522afe618417097
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Otherwise it's a big security risk.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 system/device_table.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/system/device_table.txt b/system/device_table.txt
index e15412d..8e7dbd2 100644
--- a/system/device_table.txt
+++ b/system/device_table.txt
@@ -11,6 +11,7 @@
 /etc					d	755	0	0	-	-	-	-	-
 /root					d	700	0	0	-	-	-	-	-
 /var/www				d	755	33	33	-	-	-	-	-
+/etc/random-seed			f	600	0	0	-	-	-	-	-
 /etc/shadow				f	600	0	0	-	-	-	-	-
 /etc/passwd				f	644	0	0	-	-	-	-	-
 /etc/network/if-up.d			d	755	0	0	-	-	-	-	-


More information about the buildroot mailing list