Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Installation support «  

File Ownership Problems

bijanv -- on May 9 2005
Hey everyone, alright I am using hsphere with my host rite now and I am also using the Mambo CMS for my website.

The problem is that when I try to install a component, the folder that is first created is set at Chmod 700 and the ownership of the files is not to my username but to the root (httpd:httpd). Because of this, I cannot change the CHMOD of the directory or do anything to it. Also my install fails everytime because it cannot copy over files into the folder because of its Chmod premissions.

So I guess my question is, how can I fix this problem?

Any help is greatly appreaciated.

Thanks
Bernard
avatar
from nearby-an-airport
Associate, 6732 posts

on May 10 2005


Well, unfortunately, I suppose you can't circumvent Unix security schemes

Actually many webmasters are facing the same issues when preparing their web site, because the FTP user account used to upload files is usually different from the user account used to run the HTTP daemon.

One solution is to have both accounts part of the same group, and to let files be owned by this group.

Another solution is to use the httpd account for FTP transfers.

Finally, you can also select an alternate ISP that will take care of that for you. For example, OVH has integrated everything into their setup process, and I have never used chmod nor chown...

Take care, and switch from Mambo (which is a great package) to YACS (which *may* become smarter) as soon as possible.

Rate this page
Posted by Bijanv on May 9 2005, commented by Bernard on May 9 2005, (popular)