---
title: "工作中Tortoise SVN遇到的一个问题，Commit failed (details follow): Authorization failed"
author: "lihaiming"
date: "2016-06-17T10:40:30Z"
tags: ["SVN", "authorization", "commit"]
categories: ["开源软件"]
slug: "tortoise-svn-commit-failed-details-follow-authorization-failed"
draft: false
lastmod: "2016-06-17T11:08:53Z"
id: 2305667
url: "https://lihaiming.iteye.com/blog/2305667"
---

重装了下系统，然后用SVN的时候发现能checkout能update就是不能commit，提示用户权限无法认证，搞了好久，重装过，重启等等方法，最后发现是由于svn的URL的问题，有问题时用的svn://协议，这种协议下只读，所以要改成https://协议，然后就搞定了！！

Commit failed (details follow):  
Authorization failed

这是google出来的答案，好难找，几乎没有人遇到类似的问题。

http://rnm1978.wordpress.com/2010/09/21/tortoisesvn-doesnt-prompt-for-authentication/

 

For some reason I’d been merrily connecting using the svn:// protocol, which worked for read-only (I think our SVN server’s configured for anonymous read-only), but then barfed on write-attempts.

Using https:// protocol, correctly prompted me to authenticate on connection.

 

个人遇到的问题，因为svn路径写的是svn://\*\*\*\*\*\*导致只能更新，checkout，update，但是commit时一直提示认证失败Authorization failed，最后修改为http://\*\*\*\*\*\*\*\*\*\*问题解决，当然中间也看过其它的解决方案，说是svn库名大小写问题（[http://mengsir.blog.51cto.com/2992083/1137081](http://mengsir.blog.51cto.com/2992083/1137081)），因为svn 对大小写敏感，所以svn地址一定要全完匹配，不能粗心大意（不然也会出现只能update，checkout，不能commit的问题），这里给大家警醒，不要忽略细节，一个小细节导致你要话费很长时间去解决，网上查找答案，很费劲。

 

本文来源于：[http://blog.csdn.net/ymjring/article/details/39342325](http://blog.csdn.net/ymjring/article/details/39342325)