Den 05. nov. 2011 18:35, skrev Ian Chapman:
> On 06/11/11 01:00, Frode wrote:
>
>> The other option would be to change uid/gid for all files and modify F15
>> accordingly. Would this require me to change more than uid/gid for all
>> the files and user accounts?
>>
>> I guess 'chown -R newUID:newGID ~/*' would be the wrong way to do this,
>> if there are files with other values for oldUID/oldGID?
>
> I pretty much did that when moving from F14 to F16. I backed up my /home
> volume and did a clean install of F16. This box originally started life
> as F9 and had been yum upgraded ever since.
>
> After installing, I restored my files to the /home partition and more or
> less did something along the lines of:
>
> find /home -uid 500 -exec chown ian '{}' \;
> find /home -gid 500 -exec chgrp ian '{}' \;
>
> Where the uid and gid values are my old ones. You probably want to do
> that in all locations where you know you've stored files or the brute
> force approach and start from / but be careful if you have network
> mounts etc.
>

Thanks for the answers, Patrick and Ian. I guess I'll just get the 
uid/gid changover done now instead of waiting for the next Fedora. It 
must be done at some point anyway.

Frode
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to