Opened 4 years ago

Closed 4 years ago

#2095 closed enhancement (wontfix)

Directive "user" might not be take effect in some situations.

Reported by: zhoushulin1992@… Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.18.x
Keywords: Cc: zhoushulin1992@…
uname -a: Linux xlarge 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.18.0
built by gcc 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure arguments: --prefix=/usr/local/nginx --with-pcre=/root/Downloads/pcre-8.43

Description

Directive "user" will be ignored if the master process doesn't run with super-user privileges. So it is better to add a notification in the doc of directive "user" in https://nginx.org/en/docs/ngx_core_module.html#user.

Change History (1)

comment:1 by Maxim Dounin, 4 years ago

Resolution: wontfix
Status: newclosed

Thank you for your suggestion. It is believed that the warning emitted by the configuration parsing code when the "user" directive is used yet nginx is not started under root is enough.

Note: See TracTickets for help on using tickets.