Announcement

Collapse
No announcement yet.

What is correct permission setting? 755 or 777?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is correct permission setting? 755 or 777?

    What should the permission settings be on my cpanel.
    I have public_html set to 750
    tmp set to 755
    www set to 750

    My search is not working, it is bring up all entries from my database. Should files within public_html be set individually to 750? or stay at 644?

    Please check out www.ufindabiz.com

    Thanks
    www.reikiforhorses.ca
    Balance Your Horse's Energy For Self-Healing
    www.lucynixon.ca
    Reiki For Pets and Their People
    www.ufindahorse.com
    Work In Progress

  • #2
    Re: What is correct permission setting? 755 or 777?

    Your permissions depend on what program you are running. Most run around 755 with certain files at 644. I think default for public html is 755, cant remember have to go look, but.. you dont have enough info here to answer you correctly anyway.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment


    • #3
      Re: What is correct permission setting? 755 or 777?

      777 is the code setting for your Guest Book.
      www.siapamoyanganda.com/
      Malaysian Family Tree Website From the
      State of Johor.

      HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

      Comment


      • #4
        Re: What is correct permission setting? 755 or 777?

        777 should only be used if specific directory has to be writable for a script to work (I am assuming you are saying moodymare has a guestbook that needs it writable).

        Some files have to be 644, such as .htaccess files. Don't change those to anything else (unless you know what you are doing).

        Other files such as your html files default to 644, its best to keep those at their defaults unless they have to be changed for some other reason.

        Any file that gets executed by the browser and not the server should need to be set to 755, but definitely not 777. (unless for some reason the specific file needs it)

        Register/Login Script
        Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

        Comment

        Working...
        X