Ubuntu下声卡不发声解决方案一例
ubuntu pdf无法显示中文

svn错误解决方案

Summer Flower posted @ 2011年1月28日 07:25 in 未分类 , 1801 阅读

 

Error1: Can’t open ‘/home/svn/db/txn-current-lock’: Permission denied

这种错误比较常见,而且一开始我一直以为是自己没有配置好认证权限的问题,我反复的配置10,11两步,结果还是没解决,我在windows下用tortoiseSVN客户端一直无法commit和添加文件,老是弹出这个错误。可我在linux下可以用#svn import …. 这个命令,我一直很纳闷,后来经过琢磨和上网搜索,终于解决。问题在于我的/home/svn目录下的一切子目录和文件都是属于root用户的,而我每次在linux下也是以root 用户import的,所以一直没有问题。可在windows从客户端访问就有问题了。

解决办法: 把/home/svn目录下的所有文件和子目录添加读写权限

#chmod  –R  o+rw  /home/svn

Okay, 问题解决。现在可以方便从windows下面checkout和commit了。

Avatar_small
Emma 说:
2023年1月22日 22:02

It can be frustrating when a seemingly simple problem takes a lot of time and energy to figure out. I experienced this issue when attempting to commit and add with the TortoiseSVN client under Windows. I was unable to resolve the issue even best cbd vape pen after repeatedly configuring steps 10 and 11. After some thoughtful consideration and research, I finally solved the problem. The root of the issue was that all subdirectories and files in my /home/svn directory belonged to the root user, but I was importing as a different user when accessing from the client in Windows. This issue is quite common and understanding why it occurred can help save time and energy for others attempting to solve the same problem.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter