[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: Neal D. Becker <nbecker_at_hns.com>
Date: 2002-08-14 15:06:04 CEST

>>>>> "Alexis" == Alexis Huxley <ahuxley@gmx.net> writes:

    Alexis> 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

    Alexis> I am not sure if this is sufficient.

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

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

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

Yes, probably the directories need to be setgid unless subversion
itself sets the group. This still leaves the unanswered question,
what is the suggested setup?¹

Footnotes:
¹ Mine is just a guess coming from a newbie

---------------------------------------------------------------------
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:06:37 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.