Cannot chown files!

justahost

Verified User
Joined
Mar 19, 2006
Messages
122
Afternoon all.

I have just restored an account on the server I have and the user/group names are wrong.

I went into SSH and tried to correct the problem by running from within the public_html folder (which has the correct owner/group!):

chown -R secure.secure * (and chown -R secure:secure *)

and I get an error:

chown: invalid option -- o

which sort of confuses me!

Is there any way that I can force chown to change the owner/group to the correct setting?

Cheers
Ry
 
Last edited:
try: chown -R secure:secure .
From the public_html dir ofcourse.

Your wildcard (*) probably caused nastyness.
 
Sorry for the late reply. In the end I just went up a directory and instead of using *, I put the directory name and everything worked!
 
Back
Top