Moving /home

Scott Mazur kubuntulists at littlefish.ca
Wed Feb 21 16:48:58 UTC 2007


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