data/config.php permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexcruncha
    Junior Member
    • Oct 2016
    • 6

    data/config.php permissions

    According to the below instructions for setting permissions it seems that the file data/config.php will end up with 664 permissions (since files in the 'data' folder will end up recursively set with 664 permissions). However, normally web applications lock this kind of file down more. On my shared host this file has a 600 permissions after a Softaculous install and it works fine. I'm now putting the installation on a dedicated AWS VM via command line so want to get this right.

    Documentation for setting server permissions:


    Please can someone advise if it is ok to leave data/config.php file with 664 permissions or if I should change it to 600 or at least 644? (in our case the server is dedicated for Espo so we do not have to worry about other users on the server)

    Thanks,
    Alex
Working...