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

Re: svn commit failed

From: Ulrich Eckhardt <ulrich_at_tuxator.satorlaser-intern.com>
Date: 2006-02-16 16:35:23 CET

On Thursday 16 February 2006 13:08, garyt wrote:
> I'm new to subversion, I created a repository on a local server,imported
> some files to the repository, edited svnserve.conf andpasswd files as
> suggested in the docs, then checked out a copy of the files to my pc.
> After changing one of the files I tried commiting the change using
> svnserve as follows :
> svn commit -m "1st change to file"
> It failed and gave the following error :
> svn: Can't create directory '/home/svn-repos/db/transactions/5-1.txn':
> Permission denied

This looks like you are accessing the repository with a file:// URL. This
access method requires full write access to the directory that the repository
is in. Since you said you edited the svnserve.conf file, I take that you in
fact wanted to use a svn:// URL. You might be able to use 'svn switch
--relocate' to point your working copy to the different URL.

If you are the one and only user, I'd omit the svnserve part, move the
repository to the homedir and keep using file URLs.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 16 16:49:30 2006

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