Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 mod_wsgi 的 WSGIDaemonProcess 作为另一个用户运行来为 hgweb 提供服务,这样就不需要执行任何 chmod/chown?例如,存储库位于 下/home/john/repositories,而 WSGIDaemonProcess 配置为user=john
/home/john/repositories
user=john
我尝试了该设置并且可以浏览/克隆/拉取,但在尝试推送时出现此错误:
abort: HTTP Error 500: Permission denied
刚刚发现如果我同时指定WSGIApplicationGroup和,设置工作正常WSGIProcessGroup。以前,我只放前者。
WSGIApplicationGroup
WSGIProcessGroup