main/lighttpd: permissions of /var/log/lighttpd and /var/run/lighttpd needs follow the config
You can set the server.username and server.groupname to something else than lighttpd and if that is done, the permissions of /var/{log,run}/lighttpd will be wrong. This does not really matter for disk installs since you can set those once for all there but it is broken for tmpfs installs. It does not help to add those dirs to lbu include since apk will overwrite the permissions to the lighttp:lighttp user group as found in apk package.
Possible solutions:
- init.d script parses config and sets permissions before starting daemon
- the post-install parses the config and sets the permissions
(from redmine: issue id 606, created on 2011-04-28, closed on 2011-05-03)
- Changesets:
- Revision bf277d94 on 2011-05-03T06:54:53Z:
main/lighttpd: set /var/{run,log}/lighttpd permission on start
Needed when server.user and server.group is not set to default
value and we run from RAM.
fixes #606