ITmajor has asked for the wisdom of the Perl Monks concerning the following question:
I think it is because of the file permissions. When I run my script from the command line I get no problems. When I run my script from the browser the program dies and says permission is denied. Is there a way to change file permissions for files created within a script? If not, what might be the cause of death?open(IMAGE, ">/somedir/$graphfile.png") or die "$_";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing file permissions in a script
by kyle (Abbot) on Oct 08, 2008 at 20:16 UTC | |
by ITmajor (Beadle) on Oct 09, 2008 at 14:10 UTC | |
by kyle (Abbot) on Oct 09, 2008 at 15:36 UTC | |
|
Re: Changing file permissions in a script
by Your Mother (Archbishop) on Oct 08, 2008 at 22:47 UTC |