[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init script cannot stop pid process



On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote:
> error: can't create pidfile /var/run/darkhttpd.pid: Permission denied

Typically, (/var)/run is only writable by root (checked on kfreebsd and
linux jessie systems).  Does darkhttpd write its pid file *before*
changing to the specified --uid/--gid?

Jeff


Reply to: