>Do you know where in the file system you are letting the web-server user open/create the file 'maillist'? Make sure that the location is writable, and the path to it is executable for this user.
I know the path and the folder the databases are saved. I tested a similar program (c09ex5.cgi).
* I gave permission 755 for perl -c c09ex5.cgi.
* This time, I successfully created two database files, c09ex5.dir and c09ex5.pag.
* The permissions for them were default 644. I didn't change the permissions for the created DB files.
* This program still does not run on the Web.
* I also tried to give 777 permission to the folder chap09. This folder contains c09ex5.cgi, c09ex5.pag, and c09ex5.dir.
What else I should do... Should I give 755 for cgi-bin folder?