Running this command on the SVN server manually works, just not in the
post-commit hook script

/usr/bin/svn co --username apache --password ***** -q
http://svnServer/<http://svnserver/>
<myREPO>/trunk/wwwroot/ /var/svn/svntmp/<myREPO>/build/



Matthew C. Parks

*Consultant*



*EMPOWER Student Information System*

ComSpec International, Inc.

30800 Telegraph Rd, Ste 2775

Bingham Farms, MI  48025

PH:  248-647-8841 ext. 307

FX:  248-647-6961



*EMPOWER Student Information System for Higher Education - *
www.empowersis.com <http://www.empower-xl.com/>

*Custom Software Development Services -  *www.comspec-intnl.com




On Mon, Feb 10, 2014 at 8:17 AM, Matt Parks <mpa...@empowersis.com> wrote:

> First entry in /var/svn/avn-auth-conf
>
> apache:$apr1$GaNxd/..$YeQrUtQBHINvbwal/v0Au/
>
> But I will try out the file access right now...
>
> Matt
>
> Matthew C. Parks
>
> *Consultant*
>
>
>
> *EMPOWER Student Information System*
>
> ComSpec International, Inc.
>
> 30800 Telegraph Rd, Ste 2775
>
> Bingham Farms, MI  48025
>
> PH:  248-647-8841 ext. 307
>
> FX:  248-647-6961
>
>
>
> *EMPOWER Student Information System for Higher Education - *
> www.empowersis.com <http://www.empower-xl.com/>
>
> *Custom Software Development Services -  *www.comspec-intnl.com
>
>
>
>
> On Mon, Feb 10, 2014 at 8:13 AM, Branko Čibej <br...@wandisco.com> wrote:
>
>>  On 10.02.2014 13:48, Matt Parks wrote:
>>
>> [...]
>>
>>
>>
>> "apache" is the name of the local user on the server that your HTTPd
>> process is running as.
>>
>>
>>
>>  HTTPd Conf contains:
>>
>>  # Load Subversion Apache Modules
>> LoadModule dav_svn_module     modules/mod_dav_svn.so
>> LoadModule authz_svn_module   modules/mod_authz_svn.so
>>
>>  <Location /svn/>
>> # Enable Subversion
>>    DAV svn
>>
>>  # Directory containing all repos for this path
>>    SVNParentPath /var/svn
>>
>>  # List repositories collection
>>    SVNListParentPath On
>>
>>  # Repository Dispaly Name
>>    SVNReposName "Subversion Repositories"
>>
>>  # Authorization file
>>     AuthzSVNAccessFile    /var/svn/svn-acl-conf
>>
>>  # authenticate a valid user
>> # do basic password authentication in the clear
>>    AuthType Basic
>>
>>  # The name of the protected area or realm
>>    AuthName "Subversion Repositories"
>>
>>  # Basic Auth
>>     AuthUserFile /var/svn/svn-auth-conf
>>
>>   # Require valid-user
>>    Require valid-user
>> </Location>
>>
>>
>>
>>
>>
>> I predict that /var/svn/svn-auth-conf does not mention the "apache" user
>> anywhere, so it's not a "valid user" as far as HTTPd is concerned, and so
>> fails the Require clause in your configuration.
>>
>> I'm also wondering why you're checking out via http:// in your
>> post-commit hook ... this hook runs on the same server and user as the
>> HTTPd process, so presumably it should have file:// access to the
>> repository.
>>
>> -- Brane
>>
>>
>> --
>> Branko Čibej | Director of Subversion
>> WANdisco // Non-Stop Data
>> e. br...@wandisco.com
>>
>
>

Reply via email to