Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    56
    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:
    460
    Likes Received:
    0
    Trophy Points:
    66
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,655
    Likes Received:
    1,787
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pauloray

    pauloray Well-Known Member

    Joined:
    Jan 16, 2012
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    56
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice