.php files permisions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cyber Fucker
    Hmm
    • Sep 2005
    • 12642

    #1

    .php files permisions

    There is one thing that concerns me recently... after upload of any .php files to my server they get automatically permissions 755 for e.g. wordpress files and any other .php files.
    Is that correct? Shouldn?t it be 644 like all other file types?
    Last edited by Cyber Fucker; 10-06-2009, 03:28 PM.
  • split_joel
    Confirmed User
    • Jan 2005
    • 2270

    #2
    That is fine, unless you got something crazy that shouldnt be seen.

    755 is owerner can read, write excute, others in group can read and excute but cannot write, and the rest of the world can read and excute but cannot write.
    E-mail marketing - Automation Scripting - IP Space
    AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465

    Comment

    • Cyber Fucker
      Hmm
      • Sep 2005
      • 12642

      #3
      Originally posted by split_joel
      That is fine, unless you got something crazy that shouldnt be seen.

      755 is owerner can read, write excute, others in group can read and excute but cannot write, and the rest of the world can read and excute but cannot write.
      Thank you for the help! I think this is answering my question!

      Comment

      • fatfoo
        ICQ:649699063
        • Mar 2003
        • 27763

        #4
        Yeah, you can just chmod it to whatever permission you want when you upload it.
        Send me an email: [email protected]

        Comment

        • pornpf69
          Too lazy to set a custom title
          • Jun 2004
          • 15782

          #5
          generally PHP files that are uploaded to the servers get the 755 permission
          while directories have 750...

          Comment

          • fris
            Too lazy to set a custom title
            • Aug 2002
            • 55679

            #6
            .php files should be 644
            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

            Comment

            • split_joel
              Confirmed User
              • Jan 2005
              • 2270

              #7
              Yes Fris is also right, as I said in my post unless you have something really important in the php file that has an open password or what not 755 will be fine and you wont have risk but if you have a php file with passwords or open directorys so forth 644 should be the setting for example configure.php that would hold the mysql data base name and password should be set to 644 but most other php files are safe as 755
              E-mail marketing - Automation Scripting - IP Space
              AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465

              Comment

              • Cyber Fucker
                Hmm
                • Sep 2005
                • 12642

                #8
                Thx for all replays. I've chmoded all .php's to 644 just in case.

                Comment

                • CamsMaster
                  Confirmed User
                  • Mar 2009
                  • 1200

                  #9
                  you can find a lot of doc and example asking google
                  Sex Chat Roulette | Adult Sex Chat | Cam Sites | Mature Cams | Director Web | Videochat | Webmaster | MediaEnterprise

                  Comment

                  Working...