AnsweredAssumed Answered

Set the permissions of a file

Question asked by raulpresseguer on Jul 4, 2017
Latest reply on Jul 20, 2017 by André Lopes

Hello,
We have a sugar 6.5.11 installation
- We have set permissions for all files and folders of sugarcrm at 775.
- In config.php file, we have set the following configuration:
'default_permissions' =>
   array (
     'dir_mode' => 1533,   //2775
     'file_mode' => 493,    //775
     'user' => 'username',
     'group' => 'username',
   ),
- We have also modified the file include/utils.php in the two sites where it establishes the permissions.

 

However, each time we create a new file, it is created with permissions 664, and not with the 775 we set in config.php.

And the same for cache files that are regenerated, and introduces the error of

"Permission denied: file permissions deny server access: /web/cache/jsLanguage/en_us.js, referer:"

 

Are we doing something wrong?

 

Thanks!

Outcomes