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

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB

Attachment: signature.asc
Description: Digital signature

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

Reply via email to