On Sat, Aug 10, 2013 at 08:45:31PM -0400, Richard Hipp wrote:
> On Sat, Aug 10, 2013 at 8:07 PM, Chad Perrin <c...@apotheon.net> wrote:
> 
> (1)  Put all of the Fossil repositories you want to share in a single
> directory, say "/home/fossil/repos".  Make sure all repository files are
> named using the *.fossil pattern.  (Technically, you can scatter the
> repositories out in a directory hierarchy, but let's keep things simple for
> now.)

Why is naming them all foo.fossil important?  Is that a hardcoded
extension expectation in the Fossil SCM sources that ensure the server
command will recognize the files -- and is it the only such extension
option for this purpose?


> 
> (2) Run "fossil server -port 8888 /home/fossil/repos"
> 
> (3) Users connect to "http://freebsdhost:8888/repo"; where "freebsdhost" is
> the name of your server obviously, and where "repo" is the name of one of
> your repositories with the ".fossil" suffix omitted.
> 
> Additional Notes:
> 
> *  You can use whatever TCP port you want in place of 8888.
> 
> *  If you run the "fossil server" command as root, and if the directory
> containing repository files (and the repo files too) are owned by some
> non-root user, then Fossil will fork a copy of itself for each inbound
> request and put itself into a chroot jail as the user who owns the
> directory, before reading anything off of the wire.

I read this as saying that the incoming requests will then only interact
with chrooted forks that are owned by an unprivileged user account on
the system.  Is that correct?  Is there any reason to expect things may
not work as expected on FreeBSD (considering I suspect most of the devs
use Linux-based systems)?

Does it do all that without any additional configuration of Fossil
itself, the specific repository, or the host system?

Thanks for all your help.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to