On Tue, Mar 31, 2009 at 6:46 PM, Jim <mickeyboa@xxxxxxxxxxxxx> wrote: > Richard Shaw wrote: >> [snip] >>> That doesn't seem to work for what I'm doing. >>> >>> What I'm trying to do is change all directories/files in a /home/user, >>> from one owner/group to another owner/group. >>> >>> When I installed FC10, fresh install and format the / partition and left >>> the /home partition from the old fedora 8 install >>> in place. >>> FC10 for some reason change all the directories/files to another user on >>> box >>> into a /home/user. >>> I know this sounds confusing but the point, /home/molly has the wrong >>> owner/group on her files. I have got to get them back to molly:molly in >>> /home/molly. >>> >> >> You probably did not create the users in the same order as you did in >> for F8 install so your UID (User IDs) and GID (Group IDs) don't match. >> As long as you don't have a lot of users just fix it by hand. >> >> As root: >> >> cd /home/molly >> chown -R molly:molly * >> >> cd /home/<next user> >> chown -R <next user>:<nextuser> * >> >> etc... > How would i write down sequence of each USER, so this won't happen next time > I upgrade this Box ?? As long as you always create your users in the same order it should be fine though there are two better options. 1. Use preupgrade instead of installing over an existing system. In your case I think you said you only preserved /home so option 2 might be better. 2. Prior to installing, boot a live CD/USB stick and move your home directories. i.e. cd /home mv molly molly_old mv <user 2> <user 2>_old etc. Then after installing and creating your users copy what you really need back. You still will probably have some user/group ID stuff to sort out but that way all the default files created on first login should be correct. Richard -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines