[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] backing up user prefs & docs



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]