in reply to cgi can't write to sqlite database

my $db = "/home/bcrowell/Documents/writing/selling_fiction/stories.sqlt";

I doubt that Apache has access to all this directory, it would require read and executable bits (iirc) set on all these dirs.

Try to place a copy in /tmp/ and make it globally writeable. If it still doesn't work, and you're not using selinux or some other security enhancements, it's not a permission problem.

Replies are listed 'Best First'.
Re^2: cgi can't write to sqlite database
by bcrowell2 (Friar) on Jul 03, 2008 at 21:31 UTC
    That was it -- thanks!!
Re^2: cgi can't write to sqlite database
by Anonymous Monk on May 10, 2019 at 08:09 UTC
    Thanks this solved my problem also. I too had the right permissions on the file and containing directory but not on all directories in the path.