svn 提交失败

刚刚使用SVN 提交代码时提示失败。

svn: Commit failed (details follow):
svn: Can't open file '/home/svn/project/db/txn-current-lock': Permission denied

之前都是正常使用没有问题,怎么突然又不行了呢。郁闷了一下。不过还好,后来用命令查看了一下。

$ ps aux | grep svnserve

suyh 4064 0.0 0.1 156532 888 ? Ss 16:39 0:00 svnserve -d -r /home/svn/
suyh 4384 0.0 0.1 103252 840 pts/1 S+ 17:14 0:00 grep svnserve

顿时感觉不对劲了,原来用普通用户去启动SVN 服务。导致没有权限。

原文地址:https://www.cnblogs.com/suyunhong/p/4995322.html