Results 1 to 2 of 2

Thread: backup error due to permissions

  1. #1
    joegaber is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default backup error due to permissions

    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.

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error on Backup
    By etabs in forum Help
    Replies: 3
    Last Post: 2007-07-02, 02:22 AM
  2. Backup Read Error
    By Nickname in forum Help
    Replies: 0
    Last Post: 2006-11-10, 01:39 PM
  3. Internal error when trying to backup
    By janaro in forum Help
    Replies: 0
    Last Post: 2006-06-07, 08:57 PM
  4. Replies: 0
    Last Post: 2006-01-04, 08:18 PM
  5. Backup DB Module Error
    By Brentthomas in forum Help
    Replies: 0
    Last Post: 2005-10-27, 12:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •