Hello,
I need some informations about how to protect datas in a sugar 520c live-system.
Up to this time my procedure is:
before changing s.th. in installation I make
- full backup of sugar-folder(s)
- sql-dump of database
Question 1:
In my opinion, when s.th. gets wrong, I delete the sugar-files, empty the database, recreate the files from backup and insert the dump in sql.
This should cause, my installation is at the same status like before beginning changing anything.
?: is this correct ?
Question 2:
In this case I have some problems with permissions on files.
I make during installation everything like shown in wiki and docs.
IMy apache runs at wwwrun, group www.
Alle files/dirs in sugar have owner=wwwrun group=www.
Permission generally: rwxrwxr-x for folders, rw-r--r-- for files.
/cache, /modules, /custom, /data have files rwxrw-r--, config.php has rwxrwxr--
? is this correct ?
Instead, when I access admin->system settings, there appears a error-message
Warning: touch() [function.touch]: Unable to create file config_override.php because Permission denied in /<sugar-root>/include/utils/sugar_file_utils.php on line 161
Changes made on system-settings are not stored.
Question 3:
During installation I give a special session-folder /sugarroot/session_file with 777-permission.
Also I gave a logging-folder /sugarroot/log_files with 777 permission.
The session-files are written in the session-directory specified in php.ini, log-files are not generated (level debug or level info).
What's going wrong ?
I really read a lot of topics in forum and wiki, but there is no answer for my questions.
Fact is: I made everything according to installation-guides I found.
Thanks for your comments.
Mike


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks