In debian/nginx-common.postinst we have: configure) logdir="/var/log/nginx" # Ensure existance and right state of log files and directory if [ ! -d "$logdir" -a ! -L "$logdir" ]; then mkdir "$logdir" chown www-data:adm $logdir chmod 0750 $logdir fi
This should create the log directory if it doesn't already exist. We're not enforcing this because the permissions could be changed. Is there any better way to handle this than what we're doing now? I haven't tested, but it seems that this should work. I'm sure I'm missing something... -- Michael Lustfield -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org