宝塔部署webman 启动用户不是www

qq471405711

问题描述

按照 https://www.workerman.net/doc/webman/bt-install.html 。部署完后,启动后发现写入文件没权限,经查看。启动用户不是www 。是bin

命令如下:[root@10-61-197-198 webman]# ps -ef | grep /www/wwwroot/webman/start.php
bin 29258 1 0 01:03 ? 00:00:00 WorkerMan: master process start_file=/www/wwwroot/webman/start.php
root 29440 25262 0 01:06 pts/1 00:00:00 grep --color=auto /www/wwwroot/webman/start.php
[root@10-61-197-198 webman]#

求助!!!!

120 2 0
2个回答

qq471405711

有没有大佬能回复下,很苦恼

  • 暂无评论
damao

宝塔设置www用户运行,实际是bin,这属于宝塔bug。
老版本宝塔好像有这个问题,新版本好像修复了。
确保你用的是最新宝塔,如果用了最新版本的宝塔还有这种问题去宝塔官方发帖,workerman社区解决不了宝塔bug吧。

  • 暂无评论
🔝