FAQ: Config.php Permissions for SugarCRM 5.1 and above

As of SugarCRM 5.1, the config.php file contains the following section defining default permissions for new directories and files:

'default_permissions' => array (
	'dir_mode' => 1528,
	'file_mode' => 432,
	'user' => '',
)

If this section of code appears to be missing from your Sugar installation, repair the config file from the Admin > Repair menu.

Note:  This code does NOT affect existing files and directories, only new ones.

See the table below for common directory permission settings.

Common Permission Settings for Directories
Hexadecimal Value Octal Value Human Readable Privileges

1512

2750

rwxr-x— - Read/Write: owner
- Read: group
- No public access

1517

2755

rwxr-xr-x - Read/Write: owner
- Read: group
- Read: public

1528

2770

rwxrwx— - Read/Write: owner
- Read/Write: group
- No public access

1535

2777

rwxrwxrwx - Read/Write: owner
- Read/Write: group
- Read/Write: public

*Not generally used

Similar Posts:

Tags: , ,

Comments are closed.