宝塔面板权限不足问题解决

[jenkins@izhp3dm57wb97s7h2n4bn6z ~]$ sudo cat >> /www/server/panel/vhost/nginx/status.conf << EOF
> 
> server{
> 
>     listen 13350;
> 
>     server_name www.test2.com;
> 
>     location / {
> 
>         stub_status on;
> 
>         access_log /usr/local/nginx/logs/status.log;
> 
>     }
> 
> }
> 
> EOF
-bash: /www/server/panel/vhost/nginx/status.conf: Permission denied


解决:

切换root即可

 

posted @ 2018-12-06 11:54  effortsing  阅读(4874)  评论(0编辑  收藏  举报