In the config.php we have an array that controls permissions and depending on which OS you are using and sometime what addins to that OS you may have to change that setting.
You can tell you need to change the permissions when you get an error like:
Warning: chmod() [function.chmod]: Operation not permitted in /usr/local/www/data/sugarcrm/include/utils/sugar_file_utils.php on line 189
Specified directory '' for zip file '/usr/local/www/data/sugarcrm/cache/upload/SugarPro-to-SugarEnt-Conversion-5.1.0c.zip' extraction does not exist.
The defaults are
but if you are running freebsd, SELinux, CPanel (or any other linux "head-end") you need to use these settings.PHP Code:'default_permissions' =>
array (
'dir_mode' => 1528, //2770
'file_mode' => 432,
'user' => '',
'group' => '',
),
as these OSs don't handle the 'sticky' bit the same way Linux does. I have had a few installs where we needed to usePHP Code:'default_permissions' =>
array (
'dir_mode' => 504, //0770
'file_mode' => 432,
'user' => '',
'group' => '',
),
PHP Code:'default_permissions' =>
array (
'dir_mode' => 511, //0777
'file_mode' => 511,
'user' => '',
'group' => '',
),


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks