[PATCH] lighttpd: errorlog failed as non root user 120/head
authorchris5560 <christian.schoenebeck@gmail.com>
Wed, 23 Jul 2014 19:50:16 +0000 (21:50 +0200)
committerchris5560 <christian.schoenebeck@gmail.com>
Wed, 23 Jul 2014 19:50:16 +0000 (21:50 +0200)
commita909d2d7a27b109eee32c114e41e106d52f4c732
tree358f66523baea165bcc788508cd7927f03583a03
parente2cd0c4b9fd292c440ee40475179191ec7551972
[PATCH] lighttpd: errorlog failed as non root user

if running as non root user (what's should be the default on web-servers) you get:
(log.c.118) opening errorlog '/var/log/lighttpd/server.log' failed: Permission denied

Fix: create log directory only if not exist and chmod 777 to allow anyone
to write and create files inside default log directory

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
net/lighttpd/files/lighttpd.init