Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cornerstone SVN Error - Cant commit files

Do users under passwd in subversion have certain permissions?

I can download all the files from my subversion repository using Cornerstone on mac.

But, if I make a change to a file and try to commit the file back to the repository...

Cornerstone gives me this:

Description : You are not authorized to access the files in the repository.
 Suggestion : You might be required to provide a user name and password when prompted before being allowed to access the repository.

Technical Information
=====================

      Error : V4AuthorizationError
  Exception : ZSVNAuthorizationException

Causal Information
==================

Description : Commit failed (details follow):
     Status : 170001
       File : subversion/libsvn_client/commit.c, 867

Description : Authorization failed
     Status : 170001
       File : subversion/svnserve/serve.c, 167

It doesnt prompt me for a username and password...

Anyone??

like image 929
meow Avatar asked Nov 28 '22 04:11

meow


2 Answers

I ran into the same issue and found the fix. You have to tell your keychain file that it's okay for the Cornerstone application to use the keychain file (do this manually).

First, go to Utilities--> Keychain Access.

Second, find the cornerstone keychain file. Should be a login keychain and the name should start with "Cornerstone."

Third, Right click the keychain file and click on "Get info."

Fourth, In the window that pops up, select the Access Control Tab.

Fifth, click the radio button that says "Allow all applications to access this item.

Enter your password, save changes.

Sixth, go back to cornerstone and reenter your username and password for the repository. Save changes.

Seventh, Commit the changes you were trying to commit.

Eighth, leave me some love at Lawsonry.com. =)

like image 53
Jesse Lawson Avatar answered Dec 04 '22 04:12

Jesse Lawson


Just delete the password saved by cornerstone on your keychain. It should work.

like image 20
Suresh Avatar answered Dec 04 '22 06:12

Suresh