[ubuntu-uk] Pasting home directory into new and version upgrade installs?

Alan Lord (News) alanslists at gmail.com
Sat Sep 18 11:38:18 BST 2010


On 18/09/10 11:27, Jonathon Fernyhough wrote:
>
> Another handy trick after copying /home/user to the new install is to do
>
> $ sudo chown -R user:user /home/user

Just a hint.

sudo chown -R user: /home/user

will do the same thing. You do not need to add the group name after the 
colon.

man chown:

"Group is unchanged if missing, but changed to login group if implied by 
a `:' following a symbolic  OWNER"


Al


-- 
The Open Learning Centre
http://www.theopenlearningcentre.com




More information about the ubuntu-uk mailing list