Re: Subversion with Chora/Horde RC1
Gerard Samuel <[email protected]> Tue, 23 Nov 2004 13:17:42 -0500
| Newsgroups | gmane.comp.horde.chora |
|---|---|
| Message-ID | <[email protected]> |
Gerard Samuel wrote: > Sweat, Jason E. wrote: > >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Gerard Samuel >> Sent: Tuesday, November 23, 2004 7:52 AM >> To: Chuck Hagenbuch >> Cc: [email protected] >> 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... -- Chora mailing list - Join the hunt: http://horde.org/bounties/#chora Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]