小编Gre*_*egg的帖子

HgWebDir推送权限被拒绝错误

我有一个新的Fedora 12服务器,我正在尝试设置Mercurial.我有很多变化yum install,大多数事情似乎都很好.但是,在通过apache设置hgwebdir.cgi之后,我无法对hg push当前正在托管的唯一repo 执行操作.我得到的错误是:

searching for changes
abort: HTTP Error 500: Permission denied: .hg/store/lock
Run Code Online (Sandbox Code Playgroud)

httpd作为用户apache运行

UID        PID  PPID  C STIME TTY          TIME CMD
root      1691     1  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1694  1691  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1695  1691  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1696  1691  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1697  1691  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1698  1691  0 13:19 ?        00:00:00 /usr/sbin/httpd
apache    1699  1691  0 …
Run Code Online (Sandbox Code Playgroud)

mercurial

11
推荐指数
3
解决办法
1万
查看次数

标签 统计

mercurial ×1