Permission problems after install of F16 comming from F14.

Paul W. Frields stickster at gmail.com
Fri Jun 8 00:43:45 UTC 2012


On Thu, Jun 07, 2012 at 12:35:03PM -0700, Joe Zeff wrote:
> 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.

Well, -xdev will keep you on the same file system but if you're
starting at / that's probably not what you want.  -fstype would
probably be more useful since you could conditionalize on ext4 (or
what have you).

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com


More information about the users mailing list