On Thu, Dec 6, 2012 at 8:40 AM, Richard Hipp <[email protected]> wrote: > > > On Thu, Dec 6, 2012 at 8:34 AM, Maxim Khitrov <[email protected]> wrote: >> >> Hello, >> >> The Quick Start guide says the following: >> >> "When you do run fossil as root, it automatically puts itself in a >> chroot jail in the same directory as the repository, then drops root >> privileges prior to reading any information from the request." >> >> I'm not seeing this behavior on FreeBSD 9.0-RELEASE amd64. Is this >> feature implemented? > > > yes. The routine that does this is called enter_chroot_jail() and is > located in the main.c source file. I don't have easy access to FreeBSD. > Can you debug and figure out what is going wrong?
My mistake, I see that it's working fine in the child process for each request. I assumed that this would be done by the parent, so was surprised to see fossil running as root in the top output. Is there a reason why the parent has to keep running as root when given a directory argument to the server command? - Max _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

