FreeBSD Clean Install nginx.pid Permissions Errors

Viaduct Lists lists at viaduct-productions.com
Fri Jul 14 14:40:27 UTC 2017


Hi there.

> On Jul 14, 2017, at 9:29 AM, Francis Daly <francis at daoine.org> wrote:
> 
> In unix land, usually, if a process starts running as root, then it is
> able to "switch" to run as another user. If a process starts running as
> non-root, it is not able to switch to run as another user.
> 
> And (usually) only root is able to bind() to port 80.
> 
> (Exceptions exist, but this is probably good enough for now.)

And in FreeBSD’s case, seeing nginx.conf to `user root;` kicks up an error saying this is unacceptable, and it ignores the directive.  

Cheers

_____________
Rich in Toronto @ VP








More information about the nginx mailing list