Results 1 to 4 of 4

Thread: Module Upload / Language Pack Problem - wrong file owner

  1. #1
    TechTwo is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Question Module Upload / Language Pack Problem - wrong file owner

    Hello everybody,
    after uploading a language pack an error occured.

    Error after upload:
    Specified directory '' for zip file 'cache/upload/langpack_ge_52a_ce.zip' extraction does not exist.
    (Sugar Error Msg)

    Problem:
    Directory owner is my ftp account.
    After uploading the file, the file owner ist the apache user.

    Solution must be:
    After uploading the file owner has to be the ftp user
    (But I don't know how to do so)

    I got the same problem during installation (log file after first login).
    How can I change the user with which sugar creates files ? I found an entry in the config.php for username and group. i put in the ftp user name but this does not work (so I redone the config.php change).

    What can I do to get a solution?

    Thanks to everybody who can help

    Tobi

  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: Module Upload / Language Pack Problem - wrong file owner

    You need to identify the user and group used by apache to get started. Have a look on httpd.conf.
    Then run this command as root:

    chown -R <the_user>.<the_group> /path/to/sugar

    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
    TechTwo is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Cool Re: Module Upload / Language Pack Problem - wrong file owner

    Thanks for your reply Andopes,
    this will not fix the Problem. If I change the owner of the directory to apache user and group then sugar will not run any longer !
    The Problem is that the file creation does not work correctly because sugar creates every file with the apache user as file owner (the apache user in the httpd.conf) but sugar has to create files with the ftp account username (owner of the directory and files). If it does not do so then there are no rights to read, write or execure the files.
    All files and subdirectorys are owned by my ftp user now. Only this works. If any file is owned by the apache user then it does not work.
    And no, i can not change the ftp user or apache user to the same username and group.
    I think this must be a change in sugar and not on the server.

    I use a Plesk 8.x System (if this could help)

    Greets
    Tobi

  4. #4
    TechTwo is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: Module Upload / Language Pack Problem - wrong file owner

    Is there nothing I can do to resolve that Problem ?
    I hope that there are some people out there who can help.

    Thanks
    Tobi

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot upload language file error:CURLOPT_FOLLOWLOCATION
    By Berend in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2009-01-27, 06:42 AM
  2. Problem upload pack language
    By pmello in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-06-01, 04:59 PM
  3. Language Pack. Como Instalar após o upload?
    By rafaeltimbo in forum Portugese
    Replies: 1
    Last Post: 2007-05-18, 01:41 PM
  4. Error after upload language module
    By guanatech in forum Help
    Replies: 0
    Last Post: 2006-04-08, 08:43 PM
  5. PHP File Upload Size Problem
    By CyberFerret in forum General Discussion
    Replies: 4
    Last Post: 2006-02-04, 10:26 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
  •