On Thu, Feb 03, 2011 at 01:36:59PM -0500, Mike Meyer wrote:
> However, if I try and log in using the userid/password from the repo,
> I get 
> 
> SQLITE_CANTOPEN: cannot open file at line 27596 of [fabcb6b95e]
> 
> SQLITE_CANTOPEN: statement aborts at 28: [UPDATE user SET 
> cookie='1/6E8AD0C7D6B7CDB96470AE6EF37458A19344AE610099A3D23E', 
> ipaddr='202.80.186.24', cexpire=julianday('now')+31557600/86400.0 WHERE uid=1]
> 
> Database Error

It needs access to write new files in the directory where the fossil repository
file lies. I imagine in your situation, the CGI process does not have such 
access.
You also need write access to the repository file.

If you don't use a root account for your CGI, you can use a setuid program for
it to have such access to your files. Something like this here explained, but
applied to fossil:
http://vicerveza.homeunix.net/~viric/cgi-bin/offrss/doc/trunk/doc/cgi.wiki

Regards,
Lluís.
_______________________________________________
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