Page 1 of 1

Hardening Open source installation?

Posted: Wed Apr 07, 2021 6:42 am
by happydance
Just noticed that the folders on the open source installation has file permission 777, from what I've been told and read that is not very secure.

Can I change the file permission to a more secure one like 644 and what files and folders are okay to change and which one need more access like 775 instead of 777 or 755?

Re: Hardening Open source installation?

Posted: Fri Apr 30, 2021 6:01 am
by rajitha
Hi
Yes, it's totally up to you.
But application need write permission to the below directories, since the application already checked the write permission at the installation phase,

Code: Select all

lib/confs
lib/logs
symfony/config
symfony/apps/orangehrm/config
symfony/cache
symfony/log

775 fine for above directories, don't want to give 775 for the whole orangehrm application directory. if you are getting some functional issues then, you may have to use 775 for whole directory.