[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即可
权限不足问题解决