lighttpd init file should not chown or chmod on status check
Bug #396632 reported by
Joseph Piché
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lighttpd (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: lighttpd
The lighttpd init file performs `chmod` and `chown` on the PID file every time it's run. This should only be done under certain actions of the init file as it is not necessary for the "status" action.
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
Changed in lighttpd (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
I cannot confirm this.
Are you referring to the following snippet?
# be sure there is a /var/run/lighttpd, even with tmpfs
mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null
chown www-data:www-data /var/run/lighttpd
chmod 0750 /var/run/lighttpd