From: Sebastian Kemper Date: Sat, 16 May 2020 12:24:03 +0000 (+0200) Subject: apache: create log directory o= X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dbaad2fa44ef93089879d90e1a06342820a1374b;p=feed%2Fpackages.git apache: create log directory o= Hides away the contents of the log directory from others. Signed-off-by: Sebastian Kemper --- diff --git a/net/apache/files/apache2.init b/net/apache/files/apache2.init index a0136c8411..df2e2646e1 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 }