After I install Sugar and login as an administrator user, I see a warning message, Warning: The config.php file needs to be made unwritable for security purposes.

On Linux/UNIX systems, navigate to your Sugar installation directory. You can see the current file permissions of the config.php file with this command:

# ls -al config.php
-rw-r--r--  1 nobody  nobody  2485 18 Apr 18:06 config.php

To change the file to unwritable, use this command:

# chmod 444 config.php

Then confirm the file permissions have changed by using the first command again:

# ls -al config.php
-r--r--r--  1 nobody  nobody  2485 18 Apr 18:06 config.php

The warning message within Sugar should no longer be present.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Security­ layers­ for ­user­ authentication­ in­ sugar?

In order to address security issues that can arise with user authentication, Sugar offers...

How do I get rid of the PHP Memory Limit warning during install?

"PHP Memory Limit >= 10M Warning: (Set this to 10M or larger in your php.ini...

"Maximum execution time" error when populating demo data

Populating the database tables with demo data (this may take a little while)......

What are the advantages of the GPL v3?

Since GPL v3 is based on the most popular license in the open source universe, the community is...