Andy,

Thanks tons - I follow that enough to do it!!

Now I need to find a quiet few hours to do all of this!!!!!



Ed

On Sunday 01 July 2007 21:28:04 Andy Smith wrote:
> Hi Ed,
>
> On Sun, Jul 01, 2007 at 08:50:50PM +0100, Edward Kerr wrote:
> > IF the UID / GID are different how do I fix it?  I like to know these
> > things in advance.
>
> There's a number of ways you might choose to do it, but one way
> would be:
>
> $ sudo find /home -uid 1001 -print0 | sudo xargs -0 chown 1000
> $ sudo find /home -gid 1001 -print0 | sudo xargs -0 chown 1000
>
> would find every file owned by uid/gid 1001 and change them to 1000.
>
> Cheers,
> Andy



_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to