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

Re: import and commit fail with svn_error: #21106

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-05-23 20:13:40 CEST

On Thu, May 23, 2002 at 12:19:29PM +0200, Mehmet Birgi wrote:
>...
> C:\home\tmp\svn\wc>svn import http://192.168.222.200/svn/repos . testdir -m
> "test import"
>
> svn_error: #21106 : <A path under revision control is needed for this
> operation>
>
> The specified activity does not exist.

This is symptomatic of the httpd server not being able to *write* to the
repository area. Please verify the permissions of the files and directories
in your repository directories. All files/dirs should be read/write for the
user/group of the httpd server.

In this particular case, we are trying to create an "activity" on the
server, but that is failing because it can't write to the activity database.
Later, when we refer to the activity, it isn't there.

In summary, there are two problems:

1) your file permissions are wrong
2) SVN has a bug in that it doesn't properly return an error when the
   permissions are wrong

The reason that it worked locally is that "activities" are a concept only
used by the network. Not to mention that a different user/group is accessing
the repository.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 23 20:11:33 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.