FreeBSD Clean Install nginx.pid Permissions Errors

Francis Daly francis at daoine.org
Sat Jul 15 02:58:00 UTC 2017


On Fri, Jul 14, 2017 at 10:40:27AM -0400, Viaduct Lists wrote:
> > On Jul 14, 2017, at 9:29 AM, Francis Daly <francis at daoine.org> wrote:

Hi there,

> > 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 in FreeBSD’s case, seeing nginx.conf to `user root;` kicks up an error saying this is unacceptable, and it ignores the directive.  

If you are reporting that you invoke "nginx" as the super-user ("root")
and it ignores the "user" directive in nginx.conf, that sounds to me
like a bug that should be raised.

If you are reporting that you invoke "nginx" as a non-root user, and it
warns that the "user" directive in nginx.conf will be ignored, that is
the expected behaviour.

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list