The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

File/Directory Ownership

Discussion in 'General Discussion' started by pauloray, Jan 16, 2012.

  1. pauloray

    pauloray Well-Known Member

    Joined:
    Jan 16, 2012
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    Hi,

    I have a new VPS and installed Softaculous.

    I use Softaculous to install Joomla 1.5. When I install an extension in Joomla Admin, the owner of that uploaded file is nobody:nobody, so I cannot edit the contents of this folder. I need to manually change ownership using SSH to every folder/extension that I uploaded in Joomla Admin.

    I uploaded a folder using FTP (filezilla) and the ownership is under my username so FTP works fine.

    Is there a setting in WHM that I need to change so that every extension that I upload/install in Joomla Admin will inherit the parent's folder ownership and not nobody:nobody?

    I am not an expect in programming, and starting to learn. Please give detailed instructions on how to fix this.
    I did some research (google) but I was not able to get a detailed info on how to set this.

    In my WHM, the settings are:
    PHP 5 Handler is set to DSO
    Apache suEXEC is set to ON


    Hope someone can help me.
     
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I think you may need to set PHP 5 Handler to suphp rather than dso as all php processes runs with the ownership of cPanel user in suphp environment. Whenever you install joomla extension you need not have to change ownership manually.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You would need to change your PHP handler to suPHP. We have detailed documentation on this at:

    Apache PHP Request Handling

    Please ensure you read the section titled "suPHP considerations" before enabling suPHP.

    Thank you.
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Since it is Softaculous (which is not developed or supported by cPanel) that is making the files with nobody ownership, you might also want to ask Softaculous support about this. It appears that their support contact information is available here:

    Contact Softaculous
     
  5. pauloray

    pauloray Well-Known Member

    Joined:
    Jan 16, 2012
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    Thanks for these info,

    This has been fixed. Here's what I did:
    I use WHM>>EasyApache>>I selected Basic, then rebuild Apache, after this I now have option to select SuPHP as Php 5
    handler.

    THanks guys for your input.
     
Loading...

Share This Page