The user that runs the CGI under the web server doesn't have permission to write files to /somedir/. If you don't mind having it globally accessible to everyone, you can set the permissions this way:
chmod 777 /somedir/
In reply to Re: Changing file permissions in a script
by kyle
in thread Changing file permissions in a script
by ITmajor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |