Moving /home

Larry Hartman larryhartman50 at bellsouth.net
Wed Feb 21 22:31:18 UTC 2007


I like this answer  :-)  .....but more importantly to me, how do I get the 
home directory moved from its default location on hda1 /home/usrname to 
another default location, say hdb1 /home/usrname, or any other directory for 
that matter?  

I prefer the KDE windows driven answer, but am unafraid of the command line 
driven answer.

On Wednesday 21 February 2007, Scott Mazur wrote:
> On Wed, 21 Feb 2007 16:39:15 +0000, Tez wrote
>
> > Andy Harrison wrote:
> > > On 2/21/07, *Stew Schneider* <stew.schneider at gmail.com
> > >
> > > <mailto:stew.schneider at gmail.com>> wrote:
> > >     > find * -group 501 -exec chgrp '{}' 1000 ';'
> > >
> > > First, don't use asterisk, this will skip hidden directories.  Second,
> > > the filename has to come AFTER the group...
> > >
> > > Try this:
> > >
> > >    find /home/username -group 501 -exec chgrp 1000 {} \;
> > >
> > > Or, better:
> > >
> > >    find /home/username -group 501 -print0 | xargs -0 chgrp 1000
> > >
> > > --
> > > Andy Harrison
> >
> > Yet another way is to do:
> > chown -R --from=1000:501 1000:1000 /home/username
>
> Or, from Konqueror, right click the particular folder, select properties,
> change the group name, check the 'Apply changes to all subfolders...'
> option and click OK.
>
> Scott
>
> --
> Registered Linux user #395249, http://counter.li.org
> Nothing goes to waste when Little Fish are near!
> (http://www.littlefish.ca)






More information about the kubuntu-users mailing list