[chora] Subversion with Chora/Horde RC1

Gerard Samuel chora at trini0.org
Tue Nov 23 10:17:42 PST 2004


Gerard Samuel wrote:

> Sweat, Jason E. wrote:
>
>> -----Original Message-----
>> From: chora-bounces at lists.horde.org 
>> [mailto:chora-bounces at lists.horde.org] On Behalf Of Gerard Samuel
>> Sent: Tuesday, November 23, 2004 7:52 AM
>> To: Chuck Hagenbuch
>> Cc: chora at lists.horde.org
>> Subject: Re: [chora] Subversion with Chora/Horde RC1
>>  
>>
>>>> Make sure you can run svn commands from the command line as the 
>>>> user your
>>>> webserver runs as. Go from there, I guess...
>>>>     
>>>
>>> Unfortunately, on FreeBSD, the webserver user doesn't have a shell 
>>> to execute commands.
>>> I'll post a question to the FreeBSD mailing list to see if I can get 
>>> any bites on this.
>>> Thanks
>>>   
>>
>>
>> That does not make a lot of sense.  The web server has to have some 
>> access to external system commands.
>>
>> What does a script like this produce?
>> <?php echo `which ls`; ?>
>>
>> Then you should be able to do something like
>> <?php echo `which svn`; ?>
>>
> Ok, you put some sense in my head.  What I should have said above, was
> that the webserver user has a shell that doesn't allow logging in, so 
> I couldn't
> execute commands as the webserver user on the command line (maybe 
> there is
> another way, besides "su www").
> But I didn't think to run *system* commands via php.
> The output of your suggestion ->
> /bin/ls /usr/local/bin/svn 

I changed the path for svn within chora's config to /usr/local/bin/svn
Now its outputting an error ->
svn: Unable to open an ra_local session to URL svn: Unable to open 
repository 'file:///source/svn/trunk' svn: Berkeley DB error while 
opening environment for filesystem /source/svn/db:

Im investigating this...


More information about the chora mailing list