chown probelm

Hello

I want to move account using SSH

I tar account from old server as tar.gz and put all account folder
Like public_html - public_FTP - mail - etc - tmp

then I rm -rf * in the new account in new server

Now when I untar the zip file I get everything

But have a problem in ownership
public_html must be user:nobody

I get it public_html user:user

so when I try to chown user:nobody public_html

I get
chown: changing ownership of `public_html': Operation not permitted

How i can solve this ????

and mail folder must be user:mail I get it user:user too


Plz help

Thanks

 

 

 

 

Top