Moving /home

Howard Coles Jr. dhcolesj at gmail.com
Wed Feb 21 14:29:18 UTC 2007


On Wednesday 21 February 2007 7:57:41 am J. Stewart Schneider wrote:
> I did a clean install, and need to copy /home back to it from the backup.
> My user id on the clean install and the old home is 1000, but for some
> reason, my group ID on the backup was 501 instead of 1000. Is there a clean
> way to fix this, changing files with group id of 501 to 1000?
>
> stew

chgrp should work.  However, if you are logged in as yourself and delete 
everything in your current home directory and do the restore it should use 
your current user and group settings when writing the files.  The only time 
I've been able to fully restore ownership and permissions is when logged in 
as root (using DAR that is) so this should work.  Just be careful about what 
you delete and what you restore. :-D.

Of course the operative word above is "should" so I would test it before just 
taking my advice because Your Mileage May Vary.

-- 
See Ya'
Howard Coles Jr.
John 3:16!




More information about the kubuntu-users mailing list