Re: Layout/Appearance
In addition to Angel's blog post see below the official Sugar statement about permissions and owner. The reason behind all that is simple: Sugar does not only read and execute but also writes a lot. For instance cache/jslanguage and cache/modules is rebuilt from /modules each time you run a quick repair. Whenever you create a custom field or a new layout in studio Sugar (amongst other actions) reads the respective layout file in /modules/MODULE/metadata and puts a copy with your changes into /custom/...
In short words: Sugar's enormous flexibility and ease of customization comes at a price which is sometimes trouble with permissions.
4.
Set permissions on the Sugar files. The following directories, all subdirectories, and files must be writable by your web server user:
¢
cache
¢
custom
¢
modules
¢
config.php
¢
config_override.php
¢
sugarcrm.log
Note:
Typically, there are multiple versions of the log file, such as sugarcrm.log, sugarcrm.log.1, sugarcrm.log.2, and so on.
For example:
chgrp ApacheUser.ApacheGroup <SugarInstallRoot> -R recursively sets ownership for root directory to Apache user and group.
chmod 755 <SugarInstallRoot> -R recursively sets permissions to Read/Write, Execute for the owner, and Read/Execute for everyone else.
The system user that your web server uses to access files in your webroot varies depending on your operating system configuration. Common web server users include:
¢
apache (Linux/Apache)
¢
nobody (Linux/Apache)
¢
IUSR_computerName (Windows/IIS)
Consult your system administrator if you are unsure of your web server user.
5.
Ensure that file permissions are set for Read/Execute to includes directory and sugar root directory (in addition to the already existing list of directories/files) before you view Sugar on your browser.
__________________________
Robert Laussegger
http://www.iscongroup.net
Bei Fragen: support@iscon.at
Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
Ab sofort auch mit 6.4.2
Bookmarks