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

Re: Suggested apache access config?

From: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2002-08-14 15:01:18 CEST

On Wed, Aug 14, 2002 at 08:29:13AM -0400, Neal D. Becker wrote:

> Finally, I changed the group ownership on the repository:
>
> chgrp -R subversion repos

I am not sure if this is sufficient.

If 'nbecker' runs a subversion command which creates a new file under
the respository, then that new file will belong to 'nbecker' and be if
'nbecker's login group - which is probably not 'subversion' (probably
'nbecker' or 'user' or 'staff' or something similar.) Depending on
your umask - and what svn does with your umask, that file could then
not be modifiable by apache.

I leave it to someone more knowledgeable to say if an svn action can
generate a new file in the repos or not.

*If* it can happen, then you (i) also need to add 'setgid' on the
directories too or (ii) use a 'svn' binary which is group 'subversion'
and has setgid set.

Alexis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 14 15:01:54 2002

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

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