我尝试~/nginx/sbin/nginx,得到这个消息:
nginx: [warn] the "user" directive makes sense only if the master process runs with super- user privileges, ignored in /home/zxr/nginx/conf/nginx.conf:2
nginx: [emerg] open() "/home/zxr/nginx/logs/access.log" failed (13: Permission denied)
那么我可以在没有?的情况下运行nginx sudo
,还是自动输入passwd?