首先,我想说一切都运行良好。但我需要更新到 php 5.2,所以我对我的 CentOS 5.5 进行了 yum 更新。
进展顺利,我得到了我的 php 5.2
但是......当我尝试提交文件时......我收到了这个错误
svn: Commit failed (details follow): svn: MERGE of '/xxxxxx': 200 OK (http://www.xxxx.com)
你必须知道我有一个提交后将文件更新到我的网络服务器..所以我试图删除提交后......并且提交工作..所以问题是提交后方面
这是我的提交后脚本
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
int main(void)
{
execl("/usr/bin/svn", "svn", "update", "--username",
"xx.xxx", "--password", "xxx",
"/var/www/vhosts/xx.com/subdomains/beta/httpdocs/", (const
char *) NULL);
return(EXIT_FAILURE);
}
在 post-commit 文件中,只有对该 c 程序的调用
当我尝试手动运行该 c 程序时,我收到此错误
svn: Impossible d'ouvrir le fichier '/var/www/vhosts/xxxxx.com/subdomains/beta/httpdocs/.svn/tmp/entries': Permission non accord?e
读作:拒绝打开文件的权限..
但为什么???为什么在我做了 yum 更新后,我的 svn 更新让我拒绝了 crapp 权限???
您的帮助将不胜感激:)
谢谢
最佳答案
我有同样的问题。干净安装存储库有帮助:)
关于svn - svn更新被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6085146/