CHMOD 777 Permisions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Big Chad
    Confirmed User
    • Nov 2009
    • 206

    #1

    CHMOD 777 Permisions

    Trying to install Smart thumbs, cosmos, and another misc program on a subdomain. When I change the permissions to 777 the install script won't load.. it gives a 500 internal error. Pulling hair out, is this because it's not on the main directory? Recently the server was hacked, i'm wondering if it could be a security issue on there end. Any help would be appreciated.
  • Babaganoosh
    ♥♥♥ Likes Hugs ♥♥♥
    • Nov 2001
    • 15841

    #2
    On a shared server, don't use 777.

    Cosmos? Do you mean Comus? If so you don't need smart thumbs and comus BOTH. Stick with smart thumbs.

    Scripts should be set to 755 to execute.
    I like pie.

    Comment

    • Big Chad
      Confirmed User
      • Nov 2009
      • 206

      #3
      ROFL.. Yeah Comus. I realize there both different programs. What's happening is the scripts are erroring saying that the file has been blocked from writing. When I change that to 755.. do I need to tell it to change the directory and files? or just the folder is enough.

      Comment

      • Big Chad
        Confirmed User
        • Nov 2009
        • 206

        #4
        Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4734465 bytes)

        That's why I didn't use smart thumbs.. Sorry i'm rambling.. need sleep lol

        Comment

        • AIbenjamink
          Confirmed User
          • Jan 2009
          • 420

          #5
          Most likely you are receiving a 500 internal server error because the host will not allow files with a permission level of 777 to run, or will not allow a directory with a permission level of 777.

          If the server is running as "nobody", or a user different than your ftp user, the file you are writing TO will most likely need to be 777. If your scripts execute as your ftp user, using suPHP etc.., a permission level of 755 will allow script to write to your files, and in a sense claim them as its own.

          Ultimately it depends on your server setup, you may want to contact your hosting provider.
          Benjamin : [email protected] : 405-243-447 : www.AdultInterface.com

          Comment

          • fatfoo
            ICQ:649699063
            • Mar 2003
            • 27763

            #6
            Yeah, I don't know. Sometimes it matters with directory you CHMOD. Good luck with having less fatal errors.
            Send me an email: [email protected]

            Comment

            • HomerSimpson
              Too lazy to set a custom title
              • Sep 2005
              • 13826

              #7
              use 755 instead of 777 and it should work fine..
              Make a bank with Chaturbate - the best selling webcam program
              Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

              PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

              Comment

              • Big Chad
                Confirmed User
                • Nov 2009
                • 206

                #8
                I changed it to 755.. same shit.. I'm getting this error when trying to install

                Warning: system() has been disabled for security reasons in xxxxx.com/setup.php on line 384

                I sent a ticket to isp, no word back yet

                Comment

                • AIbenjamink
                  Confirmed User
                  • Jan 2009
                  • 420

                  #9
                  Originally posted by Big Chad
                  I changed it to 755.. same shit.. I'm getting this error when trying to install

                  Warning: system() has been disabled for security reasons in xxxxx.com/setup.php on line 384

                  I sent a ticket to isp, no word back yet
                  PHP may be running in safe mode, or your ISP disabled some of the PHP functions which may be harmful to their system if not used properly.
                  Benjamin : [email protected] : 405-243-447 : www.AdultInterface.com

                  Comment

                  • pornguy
                    Too lazy to set a custom title
                    • Mar 2003
                    • 62912

                    #10
                    Be real careful with anything set on 777
                    PornGuy skype me pornguy_epic

                    AmateurDough The Hottes Shemales online!
                    TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!

                    Comment

                    • Big Chad
                      Confirmed User
                      • Nov 2009
                      • 206

                      #11
                      Ok I think I solved the problem... I had to mod the Public_Html Folder to allow the sub domain directories to be able to write.

                      Comment

                      • CPimp
                        Confirmed User
                        • Aug 2009
                        • 2346

                        #12
                        Umm... I think you might wanna watch, doing that, because if you stop files from being written then programs like Trade Pulse among probably a million other programs won't run proper.
                        three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.

                        Comment

                        • AbortedFajitas
                          Registered User
                          • Dec 2009
                          • 13

                          #13
                          Yea, I think youre original problem was just that shared hosting doesn't allow 777 permissions. I wouldn't fuck with the permissions on your public_html dir.

                          Comment

                          Working...