I am running Ubuntu 9.0.4. I installed the Linux stack. I went into the admin page as admin and followed the steps for a backup. I set chmod 777 on the destination directory. Here is what I get when I run backup:
Warning: fopen(/home/owner/sugar_backup/sugar_backup) [function.fopen]: failed to open stream: Permission denied occured in /opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/pclzip/pclzip.lib.php on line 1998 [2009-07-29 10:57:16] display_stack_trace caller, file: /opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/utils.php line#: 3077
[L:](:StackTraceErrorHandler)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/pclzip/pclzip.lib.php[L:1998](:fopen)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/pclzip/pclzip.lib.php[L:1756](PclZip:privOpenFd)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/pclzip/pclzip.lib.php[L:341](PclZip:privCreate)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/utils/zip_utils.php[L:67](PclZip:create)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/modules/Administration/Backups.php[L:93](:zip_dir)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/View/SugarView.php[L:239](:require_once)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/View/views/view.classic.php[L:52](SugarView:includeClassicFile)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/View/SugarView.php[L:119](ViewClassic:display)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/Controller/SugarController.php[L:280](SugarView:process)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/Controller/SugarController.php[L:262](SugarController:processView)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/include/MVC/SugarApplication.php[L:92](SugarController:execute)
/opt/sugarcrm-5.2.0f/htdocs/sugarcrm/index.php[L:43](SugarApplication:execute)
Error: PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive '/home/owner/sugar_backup/sugar_backup' in wb mode
Do I have the wrong permissions set on the Sugar installation. What should they be. I had to change it to 777 to get the install to work, but that doesn't seem to help solve all permission issues.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks