0

File Write Permission

I found a PHP/Curl script on Github and I'm trying to run it under Tropo.

 

The script uses cookies and sets the Cookiejar to 'gvCookies.tx'.

 

When I run the script I get the following error message in the log:

"No write FilePermission to /opt/voxeo/prism/bin/gvcookies.txt"

 

I tried setting the file permission with the below command, but it didn't work.

chmod("/opt/voxeo/prism/bin/gvCookies.txt",0766);

 

How do I get file write permission for the cookie file?

I'm a novice programmer, so please be specific with your recommendation.

Thank you

 

2 comments

Please sign in to leave a comment.