On 06/07/2012 10:43 AM, Rick Stevens wrote:
As root:

     find / -gid 500 -exec chgrp 1000 \{\} \;
     find / -uid 500 -exec chown 1000 \{\} \;

At one point, years ago, I knew an option for find that kept it out of places like /dev and /proc to avoid the spew of error messages. Of course, since you're doing this as root, it may not matter, but it would still save you time.
--
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
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to