Results 1 to 4 of 4

Thread: Is there a list of recommended permissions for files/folders

  1. #1
    tmamayek is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Hartford, WI
    Posts
    52

    Default Is there a list of recommended permissions for files/folders

    Since I upgraded from 5.0.0g to 5.1 last week, I have been having a lot of issues. I can't even run the diagnostics because after I run them, I click on the link to view them, and I get an error saying I don't have permissions to access those files.

    Besides that, I am also missing the modules/Home/metadata/detailviewdefs.php files and was wondering what the best way would be to restore those? Should I install another version of 5.1 on my server on a different domain and then copy those files that are missing? I think I have a total of 3-4 metadata directories that are missing.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Is there a list of recommended permissions for files/folders

    Hi tmamayek

    You can use the command" chown -R user.group path_to_sugar
    Where user and group are the user and group under which the apache runs. You can figure out these informations in the httpd.conf

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    Skeeve is offline Senior Member
    Join Date
    Jul 2008
    Posts
    47

    Default Re: Is there a list of recommended permissions for files/folders

    I'd say the recommended permissions for a productive system are 750 (rwxr-x---) for directories and executables (are there any?) and 640 (rw-r-----) for anything else.

    Owner and group should be as Andopes said.

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Is there a list of recommended permissions for files/folders

    I wrote this a while back, maybe it will still help. I have to update it for 5.1 but the basics are there.

    http://www.sugarforge.org/frs/downlo...ermissions.pdf
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2009-10-28, 10:21 AM
  2. 4.5.1c to 4.5.1d upgrade issue
    By tommyaquinas in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2007-05-22, 08:51 PM
  3. UPGRADE 4.5.0h to 4.5.1: UpgradeWizard - ERROR: no file uploaded!
    By creaware in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-02-13, 12:24 AM
  4. Upgrade Wizard link returns a blank page
    By rmichaut in forum Help
    Replies: 9
    Last Post: 2006-10-30, 07:30 PM
  5. Is there a definitive list of permissions and why?
    By curadebt in forum Developer Help
    Replies: 4
    Last Post: 2006-09-09, 01:51 PM

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
  •