Php Classified CHMOD 777

Discussion in 'Site & Server Administration' started by hamonpari, Sep 1, 2008.

  1. #1
    Dear All,

    I would like to know that Php Classified script installation require CHMOD 777 to all directories. Will it be safe to CHMOD all directories to 777 Or not... Please advice.. Accordingly.
     
    hamonpari, Sep 1, 2008 IP
  2. saaddy

    saaddy Banned

    Messages:
    448
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i can help you install this, i am available via MSN to chat. :)
     
    saaddy, Sep 2, 2008 IP
  3. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It is never advisable to CHMOD to 777 this opens doors for hacks, exploits and a insecure web site use at your own risk..
     
    IwhiC, Sep 2, 2008 IP
  4. mivent

    mivent Peon

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I am not familiar with your script, but I can tell you in general it's not advisable to CHMOD 777 anything, espicially not web-server writable directories. You could potentially be opening yourself up to a security risk by doing that.

    It's actually almost never necessary to chmod 777 anything, but instead just a way for lazy people to install things without actually knowing what they are doing. The right way to do it is to just dig into what the script actually has to do and set the permissions accordingly, not just open it to the world.
     
    mivent, Sep 2, 2008 IP
  5. hamonpari

    hamonpari Peon

    Messages:
    299
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    hamonpari, Sep 4, 2008 IP
  6. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Nothing has to be set to 777 to work..none of our servers will allow 777 permissions as we have suphp installed it may require more work in the long run but it is a much safe way to go.

    his statement here is correct..

    It's actually almost never necessary to chmod 777 anything, but instead just a way for lazy people to install things without actually knowing what they are doing. The right way to do it is to just dig into what the script actually has to do and set the permissions accordingly, not just open it to the world.

    thanks mivent
     
    IwhiC, Sep 4, 2008 IP
  7. mivent

    mivent Peon

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    From your link, It looks like you could likely replace 777 with 755 which is at least a bit better. I would at least do that, but the right way is to figure out exactly what permissions are needed instead of setting blanket perms to a bunch of files/directories.
     
    mivent, Sep 4, 2008 IP
  8. hamonpari

    hamonpari Peon

    Messages:
    299
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I am still unable to figureout that what is needed to be done via CHMOD777 I contacted support but no reply... please help
     
    hamonpari, Sep 5, 2008 IP
  9. ThisRocks

    ThisRocks Well-Known Member

    Messages:
    104
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    165
    Digital Goods:
    1
    #9
    Im wondering if you are talking about php-Classifieds.com cause they have pretty good support. If you are talking about them (php Classifieds www.php-classifieds.com) the tutorial says:

    9) CHMOD the directories "adpics" and "userimgs" to 777. Both the directories will have a
    file named "index.html" inside them. CHMOD both to 644.
    Take Care

    10) CHMOD all the files in the directories "data", "lang", "log" and "mailtemplates" to 777.

    Take care
     
    ThisRocks, Jul 16, 2012 IP