From dbaad2fa44ef93089879d90e1a06342820a1374b Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 16 May 2020 14:24:03 +0200 Subject: [PATCH] apache: create log directory o= Hides away the contents of the log directory from others. Signed-off-by: Sebastian Kemper --- net/apache/files/apache2.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/apache/files/apache2.init b/net/apache/files/apache2.init index a0136c841..df2e2646e 100644 --- a/net/apache/files/apache2.init +++ b/net/apache/files/apache2.init @@ -11,7 +11,8 @@ restart() { } start() { - mkdir -p /var/log/apache2 /var/run/apache2 + mkdir -p -m 0750 /var/log/apache2 + mkdir -p /var/run/apache2 apachectl -k start }