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

Re: access denied with file:// protocol

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 25 Mar 2008 19:16:55 +0100

John Filion wrote:
> Hi John,
>
> Thank you for your quick reply. The reason I'm confused by this is that the
> FAQ seems to be implying that I can do this. It states:
>
>>> If you need multiple computers to access the repository, you create an
> FSFS repository on the network
>>> share, not a Berkeley DB repository. Or better yet, set up a real server
> process (such as Apache or
>>> svnserve), store the repository on a local filesystem which the server
> can access, and make the repository
>>> available over a network. Chapter 6, Server Configuration covers this
> process in detail.
>
> This seems to me to imply that setting up a server is optional. I'm trying
> to keep this as simple as possible, and in this circumstance, there were
> only two of us accessing the files. I had the files entirely checked in
> while the other user checked out the files and used them.
>
> Does the paragraph above imply that multiple computers can access the
> repository, but that they all have to be accessed by the same user?

You can of course have an FSFS repository on a network share. But that
usually only works reliably on a Windows share. With SAMBA, people have
a lot of problems (not just when having the repository on it but also
with working copies).

I don't know SAMBA well enough, but if you have 'access denied' errors,
you have to check the SAMBA rights on the repository (and map the users
with *full* access to one Linux user who also has full access).

If that doesn't work, then you have to ask on the Subversion mailing
list - that's really a Linux/SAMBA question.

Also, I'm not sure if SAMBA fully implements the file system locks that
a repository requires to prevent problems if two (or more) users access
the repository at the same time.

Therefore, I really recommend that you setup either an Apache server or
svnserve.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-25 19:17:58 CET

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