Results 1 to 9 of 9

Thread: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

  1. #1
    userSugarCrm is offline Member
    Join Date
    Apr 2009
    Posts
    5

    Default Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Someone could help me with this problem:


    Warning: mkdir() [function.mkdir]: Permission denied in /home/livresa/public_html/crm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /home/livresa/public_html/crm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /home/livresa/public_html/crm/include/utils/sugar_file_utils.php on line 59

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/livresa/public_html/crm/include/utils/sugar_file_utils.php:59) in /home/livresa/public_html/crm/include/MVC/SugarApplication.php on line 384

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/livresa/public_html/crm/include/utils/sugar_file_utils.php:59) in /home/livresa/public_html/crm/include/MVC/SugarApplication.php on line 384

    Warning: Cannot modify header information - headers already sent by (output started at /home/livresa/public_html/crm/include/utils/sugar_file_utils.php:59) in /home/livresa/public_html/crm/include/utils.php on line 2498

    Warning: Cannot modify header information - headers already sent by (output started at /home/livresa/public_html/crm/include/utils/sugar_file_utils.php:59) in /home/livresa/public_html/crm/include/MVC/SugarApplication.php on line 125


    I checked other topics and the problem is similar but could not solve.
    Awaiting response

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    You do not have the right to write and to create directories.
    Sugar needs full access to the whole sugar directory.

    You will find hundrets of post here in the forum handling exactly the same problem.

    Search for "chmod" and "chown" ....
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Hi
    change permissions & owner of sugar directory to 777 as said by kuske.
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

  4. #4
    sandeeplakshmi is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    bangalore,India
    Posts
    20

    Default Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    you can run the following commands as a admin -

    chmod 777 sugarfolder/
    chown -R groupname:username sugarfolder/

  5. #5
    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: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Quote Originally Posted by sandeeplakshmi View Post
    you can run the following commands as a admin -

    chmod 777 sugarfolder/
    chown -R groupname:username sugarfolder/
    chmod 777 sugarfolder/

    Means

    ANY USER, EVEN NON AUTHORIZED, CAN EDIT/DELETE/CREATE FILES ON THIS FOLDER.

    If you really want to deal with this security risk, then go ahead!

    the best choice>

    Code:
    chown -R <the_user>.<the_group> /sugarfolder
    chmod -R g+w /sugarfolder
    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.

  6. #6
    userSugarCrm is offline Member
    Join Date
    Apr 2009
    Posts
    5

    Default Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    What I have to change folders and what permissions?
    Already modified some but no results, but put the old permissions again.
    Andopes neck where this code?
    Hug thanks for the help

  7. #7
    userSugarCrm is offline Member
    Join Date
    Apr 2009
    Posts
    5

    Red face Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Das Problem gelöst dank Kusk, dank Kusk
    Ändern Sie die folgende Datei / home / livresa / public_html / CRM / config.php
    Aktuellen Code:
    'default_permissions' =>
    array (
    'dir_mode' => 1528,
    'file_mode' => 432,
    'user' => '',
    'group' => '',
    ),

    Geändert Code:
    'default_permissions' =>
    array (
    'dir_mode' => 1533, // chmod 2775
    'file_mode' => 509, // chmod 775
    'user' => 'livresa',
    'group' => 'livresa',
    ),

    Dann ändern Sie die Berechtigungen für die Ordner home / livresa / home und public_html / livresa / public_html / CRM auf 775
    Wenn jemand über dieses Problem und hoffe, dass ich dazu beigetragen haben rebei helfen.
    Regards, vielen Dank für die Hilfe aller

  8. #8
    kroll is offline Member
    Join Date
    Nov 2007
    Posts
    7

    Default Re: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Quote Originally Posted by andopes View Post
    chmod 777 sugarfolder/

    Means

    ANY USER, EVEN NON AUTHORIZED, CAN EDIT/DELETE/CREATE FILES ON THIS FOLDER.

    If you really want to deal with this security risk, then go ahead!

    the best choice>

    Code:
    chown -R <the_user>.<the_group> /sugarfolder
    chmod -R g+w /sugarfolder
    Cheers
    Hi,

    I have client ftp access top my webserver only,

    What chmod command to which folders should I use then?
    Can't change chown.

    Lukas

  9. #9
    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: Warning: mkdir() [function.mkdir]: Permission denied in /home/...

    Quote Originally Posted by kroll View Post
    Hi,

    I have client ftp access top my webserver only,

    What chmod command to which folders should I use then?
    Can't change chown.

    Lukas
    Hi Lukas

    You need to ask the system administrator to execute these commands on server.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New Install:Warning: chmod() [function.chmod]: Permission denied
    By mimomomi in forum Installation and Upgrade Help
    Replies: 21
    Last Post: 2009-09-30, 08:02 PM
  2. Warning: mkdir() [function.mkdir]: Permission denied
    By allenh in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-07-11, 10:12 PM
  3. Warning: mkdir() [function.mkdir]: Permission denied in ../inclu
    By kappaluppa in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-11-20, 10:07 AM
  4. Mkdir message on SQL 2005 install.
    By tardistech in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-03-19, 01:10 AM

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
  •