diff --git a/access_logd.sh b/access_logd.sh index 9739c18..a252b5b 100755 --- a/access_logd.sh +++ b/access_logd.sh @@ -7,7 +7,7 @@ test -n "$ACCESS_LOGS_FLAGS" || exit 1 umask 007 # Copy default database -install -m 640 /var/lib/access_log.sqlite3 /var/log/access_log.sqlite3 +install -m 640 -o nobody /var/lib/access_log.sqlite3 /var/log/access_log.sqlite3 # Read from fifo and load into database daemonize -p /run/access_logd.pid -u nobody /usr/bin/access_log $ACCESS_LOGS_FLAGS