in reply to file writing permission
open $fh, '>', "/tmp/blah" or die "File Open Problem: $!";
You could always have the or write to a log file somewhere that you are positive the web server has write access to (which is likely to be /tmp on most *nix machines). Also, I don't know what the script is for, but if it is a CGI that returns to the user, you could always debug by adding the following to the beginning of the script:
use CGI::Carp qw(fatalsToBrowser);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: file writing permission
by Corion (Patriarch) on Nov 24, 2006 at 07:17 UTC |