Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : How to set File Ownership of uploaded Files in Joomla 1.5



Threaded Mode | Print  

 How to set File Ownership of uploaded Files in Joomla 1.5, Set Ownership of File to a user and not nobody:nobody (9 Replies, Read 11455 times)
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
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
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4369
Status:
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.

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
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
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi, in WHM, i have Apache suEXEC set to ON.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
Also, in my WHM, PHP 5 Handler is set to DSO.

-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
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
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
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
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4369
Status:
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

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
pauloray
Group: Member
Post Group: Newbie
Posts: 12
Status:
Thanks for reminding me that settings.

I now put the necessary file permissions in Softaculous Settings.



-----------------------
pauloray
FREE Web Hosting -Cebu Web Solutions
IP: --   

How to set File Ownership of uploaded Files in Joomla 1.5
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4369
Status:
Hi,

Now Softaculous should work properly on your server.

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 21, 2019, 10:21 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:4.459