PDA

View Full Version : UID and GID



rotty100
12-16-2006, 03:02 PM
One of my user have all his files and folder as root.
He can change anything..

How can i change this .?
Owner of the public_html is the owner,
But all file and folders inside the public_html are root.
I want to set all on the user name.

chatwizrd
12-16-2006, 06:06 PM
Then as root run

chown -R username:username /home/<username>/domains/<domain.com>/public_html

rotty100
12-17-2006, 04:02 AM
Many thx

I did always
chown -R username :customer /home/customer/domains/customer.com/public_html

username was surplus

:mad: