Dan Kennedy wrote: > That message is better interpreted as "failed to open some file". > Not necessarily the database file, the same message is returned if > sqlite fails to open or create a journal or temporary file.
Thanks, thats a useful hint. > First guess is that you do not have permission to create a journal > file. To write to a database sqlite requires permission to write to > the directory the database file resides in, not just to write to the > database file itself. I've actually tried running this code as root (and verified it by checking uid and gid) and I still have this problem. I'm currently adding debug code to libsqlite in an attempt to get to the bottom of this. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users