On Sat, 2011-11-05 at 18:00 +0100, Frode wrote:
> I guess 'chown -R newUID:newGID ~/*' would be the wrong way to do
> this, if there are files with other values for oldUID/oldGID?

You might consider 'chown -R --from oldUID:oldGID newUID:newGID ...'.
This will affect only files belonging to oldUID:oldGID. See chown(1).
And of course repeat for all UID:GID combos you have under the new
limit.

But be prepared for gotchas all the same, especially from backups taken
with the old IDs, NFS mounts etc. I don't think there's a clean,
completely automatic way of dealing with all the corner cases.

poc

-- 
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