Results 1 to 4 of 4

Thread: Problem with install permissions

  1. #1
    sigmaweb is offline Junior Member
    Join Date
    Jan 2006
    Posts
    1

    Unhappy Problem with install permissions

    Hit me on the side of the head, but I can't get permissions setup right for a clean 4.0 install on Linux. I get these error messages.
    Warning: is_file(): Stat failed for ./modules/Accounts (errno=13 - Permission denied) in /home/desktop/public_html/CRM/install/checkSystem.php on line 38

    Warning: is_dir(): Stat failed for ./modules/Accounts (errno=13 - Permission denied) in /home/desktop/public_html/CRM/install/checkSystem.php on line 38
    Not Writeable
    Both FTP and SSH report that these folders are all chmod 766.

    Help!

    And feel free to whack me. . .

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

    Default Re: Problem with install permissions

    Quote Originally Posted by sigmaweb
    Both FTP and SSH report that these folders are all chmod 766.
    Is it 766 all the way up the tree?

    modules = 766?
    parent of modules = 766?
    etc... =766?
    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

  3. #3
    Lori is offline Member
    Join Date
    Aug 2005
    Posts
    5

    Default Re: Problem with install permissions

    Following on from this - when installation has been completed properly is it necessary to change some permissions back again for security reasons ? If so which ones should I change ? Is it really safe to leave everything at 766?

    If I do change some permissions will I then have to change them back to 766 before running any future upgrade wizard ?

    Despite looking reasonably carefully through the install info I can't find any reference to this and like all users I would obviously prefer to make sure my installation and data was completely safe from attack.

    Thanks
    Last edited by Lori; 2006-01-08 at 02:18 PM.

  4. #4
    dacosta51 is offline Junior Member
    Join Date
    Dec 2005
    Posts
    1

    Exclamation Re: Problem with install permissions

    HI.

    I am trying to install Sugar 4.0 on a debian machine. I'm using mysql 5.0 and php 5.1.1-1.dotdeb.2. And I found a problem in the instalation process.

    I set to 766 the permisions for modules, cache, custom and data dir.

    The custom dir did not have any problem, but with modules, cache and custom the wizard said "Not Writeable".

    Looking in the php code, i found that the dirs modules, cache and custom are "Writeable", but its childs are not.

    The function make_writable($file) return true for "modules" but for "./modules/ACL" for example php return false.
    It is becouse both is_file($file) and is_dir($file) functions return false.

    I try to use chdir("module") and PHP gave me a "permission denied".

    The solution was to set the files permision to 777, then the php is_dir($file) return true... :-(.It's correct?.


    Thanks

    Diego
    leon

Thread Information

Users Browsing this Thread

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

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
  •