Ross S. W. Walker wrote: >> -----Original Message----- >> From: centos-bounces at centos.org >> [mailto:centos-bounces at centos.org] On Behalf Of David A. Woyciesjes >> Sent: Tuesday, February 13, 2007 2:33 PM >> To: CentOS mailing list >> Subject: Re: [CentOS] Prepping for system wipe & reload >> >> Ross S. W. Walker wrote: >>>> -----Original Message----- >>>> From: centos-bounces at centos.org >>>> >>>> Here's the checklist I have so far: >>>> 1 - /home partition - separate drive >>>> 2 - Files copied to the second drive: >>>> /etc/X11/xorg.conf >>>> rpm for RPM forge >>>> /etc/yum - entire folder >>>> /etc/yum/repos.d - entire folder >>>> /etc/yum.conf >>>> /etc/yumex.conf >>>> /etc/yumex.profiles.conf >>>> 3 - Files installed via Yum(ex) - Hmmm, need to figure this >>>> one out. Any >>>> pointers? >>> Sounds like the rpm --setugids didn't work? >> May have, but something is still funky with the user profiles. > > You can fix home directories with this shell command: > > getent passwd | awk -F: '{system("if [ -d /home/"$1" ]; then chown -R > "$3":"$4" /home/"$1"; fi")}' > > These ticks are the straight or forward ticks beside the <Enter> key. > > This will set all user home directory ownership back to their own. > > Re-installing will not fix these perms anyways! > It will if I say screw it and wipe everything! ;-) Well, except for bookmarks and mailfiles... There's only a couple of those... -- --- David Woyciesjes