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

Re: Cannot create repository

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Mon, 11 Jul 2011 21:58:09 -0400

On Mon, Jul 11, 2011 at 9:48 PM, Adam Tong <adam.tongu_at_gmail.com> wrote:
> Hi,
>
> I just downloaded svn to my fedora 14 using the command "yum install svn".
>
> The installation was successfull, but i cannot create a repository.
> Here is the output:
>
> -------
> [root_at_mycomputer me]# svnadmin create /var/svn/repos
> svnadmin: Repository creation failed
> svnadmin: Could not create top-level directory
> svnadmin: Can't create directory '/var/svn/repos': No such file or directory

Looks pretty obvious to *me*. The parent directories to create your
Subversion repository, as desired, do not exist.

Try "svnadmin create /tmp/testrepo" just to see that it works.

Also, I urge you to consider whether you will support Apache access.
If so, under Linux, the SELinux permissiosn for "/var/www" should
allow you to share such contents without SELinux problems, and you
should make your Apache directory at /var/www/svn/[reponame]. That
way, you can also set up symlinks or virtual hostname configurations
to hook normal web page access to that repo more gracefully.
Received on 2011-07-12 03:58:45 CEST

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

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