Web folders lose/change permissions

Discussion in 'Installation/Configuration' started by AxelssonDesign, Jul 24, 2017.

  1. Hello,
    I'm having problem with folder permission when I update plugins in wordpress. The update ends with error and after using chown -R web():client() on the web folder plugin update works fine.
    How to fix ?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig is not changing them, so you should check who or which application changes the ownership. Beside that, ensure that PHP mode has to be php-fcgi or PHP-FPM and that suexec has to be turned on in the site. Using e.g. mod_php as php mode will produce wrong ownership of newly uploaded files as well.
  3. oakleeman

    oakleeman New Member

    @till not trying to hijack this thread but just out of curiosity what should the default permissions be on a newly created site's web folder? I've googled til I'm blue in the face and have been unable to find it.

Share This Page