Force directory / file permissions through config.php? 🤔

Hi
Can’t remember where I can find the parameters which you add to the config.php file to SuiteCRM monitors and keeps the directly /file permissions in check when new files etc. are added.

Can someone please refresh my mind please?

Thanks a bunch! :smiley:

Kind regards

It’s called default_permissions

Hi pgr and thanks for the reply
Yes, but where can I find the code/parameters to set in the the config file?

Open config.php file from your SuiteCRM root directory:

For example,

‘default_permissions’ =>
array (
‘dir_mode’ => ‘1533’,
‘file_mode’ => ‘436’,
‘user’ => ‘www-data’,
‘group’ => ‘www-data’,
),

1 Like

Thank you very much! :facepunch: