在对服务器运行 SVN UP 时,我的一些 ubuntu 系统不想存储永久异常。SVN 输出如下所示:
Error validating server certificate for 'https://aaa.bbb.ccc.se:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: aaa.bbb.ccc.se
- Valid: from Tue, 29 Sep 2009 18:58:06 GMT until Thu, 29 Sep 2011 18:58:06 GMT
- Issuer: CA, yyy, sss, Somewhere, SE
- Fingerprint: 21:f3:62:28:d2:61:48:d1:40:47:20:6a:f4:a8:c7:75:05:c9:11:c6
(R)eject or accept (t)emporarily?
通常我希望最后一行是
(R)eject, accept (t)emporarily or accept (p)ermanently?
我认为这是某个地方的访问权限问题,但我似乎无法弄清楚在哪里。
strace 的最后几行是:
fstat64(5, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c41000
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 1892
_llseek(5, -28, [1864], SEEK_CUR) = 0
read(5, "\nCET-1CEST,M3.5.0,M10.5.0/3\n", 4096) = 28
close(5) = 0
munmap(0xb6c41000, 4096) = 0
lstat64("/home/pehrs/.subversion/auth/svn.ssl.server/d3b23fecd33cba74aff2290b03a87862", 0xbfe6e84c) = -1 ENOENT (No such file or directory)
在此之前,大约有 200 次调用 gettimeofday()
有人可以帮我弄清楚如何永久存储异常,这样我就不必每次从回购中提取指纹时都检查指纹?
原来是 svn 配置的访问权限不正确。