Report this

What is the reason for this report?

File Permission set to 777

Posted on March 18, 2014

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



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!

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.

Have you tried changing the ownership of the folder?? <br> <br>chown user:group folder_name <br> <br>and then just set it to 755 <br> <br>chmod 755 folder_name <br> <br>see if that works

Thanks disturbedrod, <br> <br>I did change to 755 but the script insist to have 777. <br> <br>The developer recommend to install suPHP. Then set the folder to 755.
<br> <br>I try searching here of any tutorial but not available. <br> <br>I’m concern if I install suPHP on running server, it will create havoc on my sites on it. <br> <br>Could you help shed the light on suPHP or point me to the right tutorial? <br> <br>tony

Sorry mistype on ownership: <br> <br>Change ownership: <br>chown script_folder:root script_folder

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.