Softaculous


Topic : How to set File Ownership of uploaded Files in Joomla 1.5


Posted By: pauloray on January 16, 2012, 3:05 am
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 Joomla or Softaculous 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?

Hope someone can help me.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: Brijesh on January 16, 2012, 2:35 pm | Post: 1
Hi,

Sir you must be using the Apache PHP module and hence your PHP runs as nobody.
When you create a new directory or a file the owner is nobody because you created it via PHP script (Joomla).
And when you upload the files via FTP you login as a user and hence the owner of the files and folders is the user.
So if you use suPHP which runs PHP as the user itself you will not face the above issue because the files then created will be owned by the user as PHP is running as a user due to suPHP.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: pauloray on January 16, 2012, 2:54 pm | Post: 2
Hi,
Thanks a lot for your reply.
How should I correct this? What should I do?

I am new to this, please give detailed instructions.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: pauloray on January 17, 2012, 1:06 am | Post: 3
Hi, in WHM, i have Apache suEXEC set to ON.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: pauloray on January 17, 2012, 1:19 am | Post: 4
Also, in my WHM, PHP 5 Handler is set to DSO.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: pauloray on January 17, 2012, 2:40 am | Post: 5
I think I need to use suPHP instead of DSO but there's no option for suPHP in my WHM.
The only options for PHP 5 Handler in my WHM are DSO, CGI and NONE.


How can I install suPHP?

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: pauloray on January 17, 2012, 3:14 am | Post: 6
I think I solved it.

Here's what I did.

In WHM-EasyApache, I selected Basic which says that it has mod_suphp.

After selecting and building it, I now have options for suPHP for PHP 5 Handlers. I selected suPHP and try uploading extension in Joomla Admin. I checked the owner using SSH and it has my username and not NOBODY:NOBODY anymore.

Cheers!!!

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: Brijesh on January 17, 2012, 6:10 am | Post: 7
Hi,

Now you have suPHP enabled on your server. Have you made the changes in the Softaculous Admin Panel in WHM for Permissions of the folders created ?
Please refer to the following guide:
http://softaculous.com/docs/SuPHP_Settings

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: pauloray on January 17, 2012, 6:21 am | Post: 8
Thanks for reminding me that settings.

I now put the necessary file permissions in Softaculous Settings.



-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions

Posted By: Brijesh on January 17, 2012, 7:20 am | Post: 9
Hi,

Now Softaculous should work properly on your server.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.