zigzam said:
They make the files owned by root. Scripts such as Mambo and Joomla
A non-root user cannot make a file owned by root. Nor can it make a file and change the owner to root.
If this is happening at install then you need to be logged in as the user when doing the install.
From command prompt su to root, then do su -m username. The -m option will allow you to become them even if they don't have a valid shell.
If you are installing from cpanel or fantastico then you need to log into cpanel with their password, not from WHM with the root password.
If this is happening just from being used throughout the normal course of the day then you might have apache running as root.
Check your /usr/local/apache/conf/httpd.conf file for User and Group
Should be:
User nobody
Group nobody
Then double check your /etc/passwd file and /etc/group file to make sure that the apache user and group id are not zero.