Uploading files through Joomla

Hi,

From time to time, I have the problem that when I upload some files through Joomla, they are marked as if the ownership were "httpd:httpd", instead of my current user.
In each time, I create a ticket and some guy kindly reset this for me.
But I have no idea how is this error caused...
Is it a Joomla thing? or a sort of server hiccup?
 
This is not a problem. PHP on linux accounts here work in webserver user (httpd) privileges. Thus all files/folders created by PHP have ownership set httpd:httpd. We run an automated script every 24 hours that return this ownsership back to your user. If you need it done early, just drop in a ticket and we will do the needful.
 
fischermx, the joomla ownership thing is a pain in the neck -- it can screw everything up for you, particularly if you try to run tight security on your joomla install.

I've found that using the joomla explorer extension to upload stuff will sometimes allow you better control of the owner and rights of the uploaded file, but the problem persists if you try to e.g. install a new module or component and files get unzipped with the wrong owner -- then you're usually locked out of your own install and would have to wait for the ISP fix...
 
I know of people running scores of Joomla installs, with lots of plugin and they haven't reported any major issue. For unzip, you can use webshell so you get the correct owner.
 
Just to clarify: yes, unzip w/ webshell will work, too. The problem I described comes when the php unzipper goes to work in connection with using the joomla install function to upload, unzip, and install a new (and usually zipped or tar'ed) module or component -- since PHP is doing the work and not a user, the PHP system account becomes the owner. If you subsequently want to go in and tweak a setting in the module or component, you're stuck w/ the wrong owner holding power over the installed module.
 
Does the new FTP layer feature in Joomla 1.5.x takes care of this?
I've not used it so unsure how much this feature works or if it will help here.
 
Hi Tanmaya ,

No the layer does not care the problem :( 'cause it says that it is not compatible with our servers and do not work .

I tried several ways for it to work but not helped .

I'm facing the same issue , be sure it is a real pain for us and searching a good solution [ while searching the forum I found this topic ] .

If you try to make a simple Joomla 1.5.x setup and put the ftp details while installing , it gives the "incompatible server" error . After installing Joomla go to the admin panel and try the FTP settings there , this time it says that "can not login" , "ftp server incompatible" . [ the login info is correct ]

Would you mind trying the latest build of Joomla 1.5.x on our linux servers ?

And one more question ; Do you have any fast reliable and permament , "no ticket" , "no 24 hours waiting" solution for this ?

Best wishes
 
There can't be a permanent as each upload changes it :( I don't know the answer to the rest.
 
Hi Stephen and Tanmaya ,

I finally got the "ftp layer" of Joomla 1.5 got working , but it generated some errors ...

Anyway , now checking and working on it . This is the hardest Joomla installation I've ever done :)

Will update with latest status
 
Hi Stephen and Tanmaya ,

I finally got the "ftp layer" of Joomla 1.5 got working , but it generated some errors ...

Anyway , now checking and working on it . This is the hardest Joomla installation I've ever done :)

Will update with latest status

Good job!
Do let me know if you need any assistance in resolving the remaining issues.

We'll appreciate if you can come up with a step-by-step guide on how to do such an install. I'm sure quite a few users will be benefited with this setup.
 
Back
Top