[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit failed ... Access is denied

From: Milen A. Radev <milen_at_radev.net>
Date: Mon, 25 May 2009 18:14:41 +0300

2009/5/25 bodvar <bodvar_at_gmail.com>:
> I have set up a SVN server with several repositories on FSFS on
> Windows Server 2003. The users are using TortoiseSVN on XP SP2 or alt
> SP3. The server is mapped as Q: with the users.
> Everything works fine with my WCs, but I am having problems with
> (some) users, as they cannot commit their changes. However, Checkout
> is OK.
>
> When committing there is approx. 10-15 sec. pause and then the commit
> window comes up with the following messages:
>
> Action         Path
> Command   Commit
> Error           Commit failed (details follow):
> Error           Can't open file 'Q:\AVSEC\db\txn-current-lock': Access
> is denied.
> Finished!
>
> The svnserve has the following:
>
> [general]
> anon-access = read
> auth-access = write
> password-db = passwd
> # authz-db = authz (commented out)
> realm = AVSEC # which is the name of the repository involved.
>
>
> The  passwd file has two names (not same as here):
> 1stUser = xxxx
> 2ndUser = yyyy
>
>
> I tried to set the authz file like this:
> [groups]
> avsec = 1stUser,2ndUser
> [repository:/AVSEC]
> * = r
> @avsec = rw
>
>
> Even with all this, the SVN server does not ask for login name or
> password, but goes right into trying to commit the files in question.
> I was told, even if it is not in the documentation, that I would have
> to add the user (or a group including him/her) to the Security
> Properties of the repository folder. I find it dubious, since I would
> have thought that it was the SVN that was accessing the files, not the
> user as such.
>
> 1. What is wrong here?
> 2. Why does the SVN server not ask for the user name and password?
>
> Thanks in advance for any clarification.
>
> Bodvar
>
> PS: The documentation might be bearing in mind less knowledgable
> people than full-fledged UNIX/Linux administrators. Even my (M$-) IT
> people have been scratching their heads over this. :-(

I'm not a windows admin so I'm confused - is it really possible to map
svnserve-served repository to a drive letter?

What's the URL of the repository? (Right click on the root of a WC,
"Properties", "Subversion" tab, "URL"). Also mentioning the versions
of TSVN and SVN in your reply might be useful.

-- 
Milen A. Radev
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2353510
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-25 17:49:08 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.