# RE: access denied with file:// protocol

From: John Filion <jfilion_at_camgian.com>
Date: Tue, 25 Mar 2008 13:36:53 -0400

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?

John

> -----Original Message-----
> From: John Lundbäck [mailto:john.lundback_at_arcticus-systems.com]
> Sent: Tuesday, March 25, 2008 11:50 AM
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: access denied with file:// protocol
>
>
> Simple answer: You did what you're not supposed to do. Put the
> repository on a network share.
>
> In a multiuser environment this is a big no-no. As a local
> testbed it is
> ok but not in a multiuser environment that will access the
> files at any
> rate and order. The database will get corrupted and you'll
> get exactly
> these kind of problems. Read the subversion manual about it
> and then go
> for a server installation instead.
>
> You'll have to install the svn server either together with an
> apache web
> server or as a standalone service/daemon depending on what access and
> features you'll want. It takes about 5 mins to get a
> standalone server
> up and running (if that much).
>
>
> Regards
> /John
>
> John Filion wrote:
> > Hello,
> >
> > I tried to set up what I thought was the simplest
> repository possible with
> > tortoisesvn. On a network share (samba) that everyone in
> our group has
> > access to, I built the FSFS repository, imported the files,
> and checked them
> > out onto one of my local drives. I made modifications and
> checked the
> > changes in with no problems. But, when another user
> attempted to check the
> > files out and modify them, he got the following error:
> >
> > Error Commit failed (details follow):
> > Error Can't set file 'Z:\<path to
> repository>\repository\db\current'
> > read-write: Access is denied
> >
> > It then builds a backup 'current' file for that user. But,
> I can't find any
> > write priveleges that would block this. In fact, the user
> appears to be
> > able to read and write the current file (though we didn't
> actually try to
> > write, it just looks like he should be able to from the priveleges).
> >
> > I didn't think I would have to set up the authz or
> svnserve.conf files,
> > since I'm not using a subversion server. But, I tried
> opening up priveleges
> > in these files, and that didn't work.
> >
> > It seems I'm missing something basic here, can anyone tell
> me what it is?
> >
> > Thanks,
> > John Filion
> > Camgian Microsystems
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> > For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
> >
>
>
> --
> ______________________________________________________________
> ___________
> John Lundbäck Tel: +46 8 580 311 04
> Arcticus Systems AB Fax: +46 8 580 365 60
> Datavägen 9A Celluar: +46 70 747 08 14
> Box 530 E-Mail:
> john.lundback_at_arcticus-systems.com
> S 175 26 Järfälla,SWEDEN Homepage: http://www.arcticus-systems.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-25 18:37:08 CET

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