Cms : installation wizard blocked at permissions settings ?

Discussion in 'Installation/Configuration' started by Keoz, Mar 31, 2020.

  1. Keoz

    Keoz Member

    Hello,

    In purpose to install “DoorGets CMS“, I did set permissions (chmod) to 777 on “web“ folder within root directory (using FTP client) but the “DoorGets CMS“ installation wizard remains blocked at permissions settings (step 2) with this message :

    Your folder does not have required permissions…
    Solution :
    sudo chmod -R 777 /var/www/clients/client1/web3/web
    *** TUTORIAL ***
    http://www.doorgets.com/t/en/?documentation=installation-en

    I did also set permissions to 777 on “DoorGets CMS“ setup directory : /var/www/clients/client1/web3/web/setup

    Is there anything else that I should do, or that I missed to do ?

    Regards,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Sorry to say that, but if a CMS recommends you to run a chmod 777, then I would stay away from it as the persons that wrote it have no idea of server security.

    So the first thing if you want to use it anyway, undo the chmod 777. All you have to do is to ensure that all files and folders are owned by the web user and client group of the website.

    sudo chown -R web3:client1 /var/www/clients/client1/web3/web/*
     
  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I'll fully agree on avoiding mode 777 and maybe the entire cms; you could maybe help their project/users out by filing a bug against their installer. A simple test to see if the web root is writable is much more appropriate then blindly forcing the least restrictive permissions possible. Yes, I think I would avoid the project myself as well, web application security is not trivial, and that indicates not only a lack of effort for security, but probably nearly complete ignorance of where to even begin.
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I guess to be fair, what @till said is more accurate, we are discussing specifically server security, which is just one aspect of overall web app security. Maybe the app does great in other areas.
     
  5. Keoz

    Keoz Member

    Thank U,
    Your right ! I did gave up this cms... !
     

Share This Page