On Mon, Jul 11, 2011 at 9:48 PM, Adam Tong <adam.to...@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@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.

Reply via email to