Thus said Richard Hipp on Wed, 04 Nov 2015 21:31:38 -0500:

> On the  https://www.fossil-scm.org/fossil website (which also  runs as
> CGI)  the HOME  environment  variable is  set to  /root,  but no  such
> directory exists within the chroot jail in which Fossil is running.

While /root doesn't exist, HOME does. I believe the error is complaining
that the HOME environment variable does not exist.

$ env -i /tmp/fossil/fossil http                            
HTTP/1.0 200 OK
Date: Thu, 5 Nov 2015 03:46:22 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 118

<p class="generalError">
cannot locate home directory - please set the FOSSIL_HOME or HOME environment 
variables
</p>

Does CGI mode not also require HOME to be set?

Thanks,

Andy
-- 
TAI64 timestamp: 40000000563ad16a


_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to