This is configuration issue that I'm trying to figure out once and for all. I'm using the SugarCRM CE with Linux/Apache/MySQL. I've always had issues with the ModuleBuilder because of file/directory permissions. Something just it's right on my system. Maybe someone can shed some light on some of the config settings.
I've seen some notes about the Pro edition and using the decimal values for the octal permission values. Is this the same with the CE? Should I be using the decimal values (509 and 436) instead of the octal values (0775 and 0664)?PHP Code:'default_permissions' =>
array (
'dir_mode' => 0775,
'file_mode' => 0664,
'chown' => 'apache',
'chgrp' => 'apache',
'user' => 'apache',
'group' => 'apache',
),
Also, I'm running the Apache (PHP) server as 'apache'. I noticed that in the original config file there's user/group settings. In the /includes/utils.php file there's two places where 'default_permissions' shows up. Around line 132, I see chown/chgrp (function make_sugar_config). Around line 229, I see user/group (function get_sugar_config_defaults). Is this a typo?
And, one other thing. If my umask on my system is set to 0002, should I just remove the dir_mode/file_mode settings from the config file?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks