开发者

hgweb with mod_wsgi's WSGIDaemonProcess running as another user (to skip chmod/chown)

Is it possible to serve hgweb with mod_wsgi's WSGIDaemonProcess running as another开发者_运维问答 user, so that it won't be necessary to do any chmod/chown? E.g. the repositories is under /home/john/repositories, while the WSGIDaemonProcess is configured with user=john

I tried that setup and can browse/clone/pull, but got this error when trying to push:

abort: HTTP Error 500: Permission denied


Just found that the setup works fine if I specify both WSGIApplicationGroup and WSGIProcessGroup. Previously, I only put in the former.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜