[K12OSN] backing up user prefs & docs

Sudev Barar sudev at mantraonline.com
Thu Oct 21 08:48:27 UTC 2004


On Thu, 2004-10-21 at 12:34, Debbie Schiel wrote:
> FAB! Thanks for the tip Dan. Changed permissions on /home/guest *and* 
> /tmp/gconfd-guest/ and logged in fine with everything exactly where I 
> left it.
> 
> Dan Young wrote:
> > On Thu, 2004-10-21 at 15:15 +1000, Debbie Schiel wrote:
> > 
> >>I just want to make a backup of a user's files & prefs & settings, eg: 
> >>'guest'
> > 
> > 
> > You might want to check the permissions for /home/guest. When copying
> > things as root, root takes ownership of the copied files. You probably
> > can just:
> > 
> > # chown -R guest /home/guest
> > 

A better way is to rsync as even when run as root it preserves the
UID/GID

-- 
Sudev Barar
Learning Linux




More information about the K12OSN mailing list