Perl: the Markov chain saw | |
PerlMonks |
Re: Got gdbm store returned -1 error 13 when trying to write!by dws (Chancellor) |
on Jun 27, 2002 at 07:51 UTC ( [id://177651]=note: print w/replies, xml ) | Need Help?? |
Check the protection on your DBM file(s). The file protection needs to be expressed in octal, not decimal.
dbmopen(%DB, "file", 666) ;
should be
dbmopen(%DB, "file", 0666);
You might have been able to run this from the command line, but it'll create a file with funky protection bits. Since Apache is typicall run as a different user, they won't have access to the file.
In Section
Seekers of Perl Wisdom
|
|