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

Re: Securing SVN directories

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 21 Nov 2008 09:19:18 -0500

How is your repository managed? Do you use svn+ssh? If not, you can
set up the permissions in the repository as 644 for files and 755 for
folders. The owner should be the user who is running either the Apache
or svnserve process (depending if you're using http or svn).

If you are using svn+ssh, things are a bit trickier because you need
to have the read/write access on both the owner and group, and the
group needs to be the development group that has permission on these
files. svn+ssh is trickier to setup since each user runs their own
svnserve process on the repository.

You should NOT be using file:// access to the repository.

(BTW, I think hooks scripts must be 755, but I'm not 100% certain this
has to be the case).

--
David Weintraub
qazwart_at_gmail.com
On Fri, Nov 21, 2008 at 8:09 AM, Oliver Marshall
<oliver.marshall_at_g2support.com> wrote:
> Hi chaps,
>
>
>
> We've moved a whole load of svn repositories over to a new server. The old
> server, and the repositories, were all given CHMOD 777 permissions when the
> original person couldn't find the correct permissions.
>
>
>
> Does anyone know what user/group and permissions should be on the SVN
> repository folders ?
>
>
>
> Olly
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-21 15:19:46 CET

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.