File Permission set to 777

Hi All,

I install a tracking script on a folder and everything working fine, until I create a tracking link. It says “can’t open file”. I submitted a support ticket and they suggest to change the file permission of the folder (where script installed) to 755 or 777. I try with 755 but it didn’t work, only 777 make it works.

My concern is off course the security. They suggest me to call the hosting :(

I’m running Ubuntu 12.04 x32 on my droplet.

Anyone can shed the light on this?

Thanks tony

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thank you very much Emilio, <br> <br>It works! <br>So I don’t have to install suPHP on my server. <br> <br>Btw, I try to googling “introductory lesson” about www-data but can’t find any. Could you please write a bit on this? So I know what I’m doing when installing any script with file permission like this again. <br> <br>tony

Maybe you can try changing ownership of your files to www-data:www-data?