Security question: directory and file permission

Dear all,

I extract the suitecrm-7.0.0.ZIP file and find out that all directories and files permissions are 777. If I remember correctly, Sugar only need cache/, custom/, modules/, config.php, config_override.php, sugarcrm.log (and probably data/ as well for some installation) to be writable by webserver.

Anyone can assist me, what is the recommended directory & file permission for Suite CRM?

Last but not least, thank you for this great work, Guys. You rock!.

Lucky I. Ismail

Hi Lucky I. Ismail ,

These permissions are currently recommended for your SuiteCRM instance(linux):

sudo chown -R www-data:www-data .

sudo chmod -R 755 . (Setting 755 on whole instance)

sudo chmod -R 775 cache custom modules themes data upload mobile config_override.php (Setting 775 where required within instance).

Thanks,

Will.

Dear Will,
Thank you for answering my question.