Re: Subversion with Chora/Horde RC1
Gerard Samuel <[email protected]> Tue, 23 Nov 2004 12:49:55 -0500
| Newsgroups | gmane.comp.horde.chora |
|---|---|
| Message-ID | <[email protected]> |
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 went one step further and tried <?php echo `svn --version`; ?> and got -> product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_local : Module for accessing a repository on local disk. - handles 'file' schema * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' schema So it seems the webserver user can execute svn commands. I'll try playing around with it, to see if I can shed any further light on my issue. Thanks -- Chora mailing list - Join the hunt: http://horde.org/bounties/#chora Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]