Jump to content


Best Chmod Settings?

  • Please log in to reply
2 replies to this topic

#1 morpheuz

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 15 June 2006 - 11:29 AM

Been doing some reading.. it seems giving files permissions of 777 is not the best choice according to consensus as it causes a security issue. I'm having a hard time tracking down on what exactly to chmod to what, so I hope there is nothing wrong with setting all php files to 644 and folders and all else to 755, or just setting everything to 755.

Are there any other things I need to be aware of?

#2 Kris

  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 15 June 2006 - 12:20 PM

As long as you don't give write access to the public then I think you should be fine.

#3 .josh

  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 15 June 2006 - 12:37 PM

guess it also depends on what the script is for. if its a cron job script i usually give server access, for example
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users