warning: Can't open file '/root/.subversion/servers': Permission denied 解决办法

Friday, January 29, 2010

我的一个Python脚本从svn co数据出来,手动
$ sudo -u eric python /home/eric/test.py正常,但是用cron自动跑的时候就出错了,以前好好的,搞不懂今天就坏掉了,出错信息 warning:
Can't open file '/root/.subversion/servers': Permission denied

解决办法是在脚本里指定了--config-dir /home/eric/.subversion 就ok了

This entry was tagged Linux and svn

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top