ndalama
ndalama

Reputation: 1685

SVN error"access to '/svn/myservice/!svn/act/d99e498e-9a8d-374c-a3e4-fde21198bfa2' forbidden"

I cannot commit but I can update.

When I attempt to commit I get the following error:

access to '/svn/myservice/!svn/act/d99e498e-9a8d-374c-a3e4-fde21198bfa2' forbidden

I'm using Windows 7 64bit.

Upvotes: 26

Views: 51542

Answers (9)

Sibin John Mattappallil
Sibin John Mattappallil

Reputation: 1789

Try to commit with user name:

svn commit --username your_user_name

Or with repo url:

svn commit --username your_user_name https://your_repo_url

Upvotes: -1

user591272
user591272

Reputation:

Check the "write" permissions in that folder

I was working with GitHub and it wouldn't work until I checked the repository permissions again and noticed I've "READ" access.

Upvotes: 1

Naveed Ahmad
Naveed Ahmad

Reputation: 6737

In my case I was using the url like "https://exampleIP.com/svn/myrepo/" while searching on Internet I found that svn commit is case sensitive, so enter the exact url as it is defined. I was entering "MyRepo" as "myrepo" that was the issue, now I committed the code successfully.

Upvotes: 0

Pedro
Pedro

Reputation: 1344

This happens when you check out a repository and the casing in the repository path that you typed does not match the actual repository path. When the casing does not match you're able to check out the repo but you get that error when you commit.

However, it can also occur when the name of your SVN account is entered with the wrong capitalization when making the commit (e.g., "Username: Joe" instead of "Username: joe").

Upvotes: 51

thinkbase
thinkbase

Reputation: 141

In some case, the error "access to '/svn/myservice/!svn/act/d99e498e-9a8d-374c-a3e4-fde21198bfa2' forbidden"

should be caused by the letter case of url, for example, as the following Repo directory: E:\SVNRepo\MyService

if you get the SVN with url: http://..../svn/myservice , you can checkout/update, but the commit should cause the "forbidden" error.

Relocate local work folder to "http://..../svn/MyService" , every thing should be OK.

Upvotes: 4

Noel_M
Noel_M

Reputation: 11

Update is a READ / PULL, Commit is a WRITE / PUSH.

I was using Linux with Apache and come to find out it was with the Repo breakdown in file used for the AuthzSVNAccessFile /x/x/x/x/users-access-file

FILE CONTENTS of /x/x/x/x/users-access-file

[groups]
DEV =  user1,user2

[/]
* = r

[blah_blah:/]
@DEV = rw

My problem was I 1st had this: [blah_blah], when I changed it to [blah_blah:/] That fixed MY problem. Simple Typo, causes Huge headaches tracking it down.

Upvotes: 1

cvogt
cvogt

Reputation: 11270

it can also happen with, when you checkout with a user, that does not have write permissions. With the cli provide --username with a user that has write permissions.

Upvotes: 3

JW.
JW.

Reputation: 4951

I had the same problem.

I solved it on my Windows XP by

  • Clearing the authentication data that Tortoise had saved. Then,
  • Re-tried the commit

Tortoise, then, asked me for my login credentials. After re-inserting my username and password, the commit worked.

How do you clear the authentication data that Tortoise had saved?

Quote:

  • On the PC go to Tortoise SVN > Settings > Saved Data > Authentication Data
  • Click [Clear]

That will clear the stored information, and you will be prompted for it the next time it's needed.

Upvotes: 14

adudley
adudley

Reputation: 944

My repository gave this error with: !svn/act/{guid}' forbidden", im using windows 7 64bit too.

It turned out to be that 'syntax check' was set to yes. so changed it to no and all worked fine.

now, what does syntax check do I wonder?

nothing to do with the case of the url though, tried that first!

Upvotes: 0

Related Questions