UID, GID, and all that

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Aug 20 18:06:25 UTC 2012


On Sat, Aug 18, 2012 at 09:50:08PM -0400, Peter King wrote:
> Here's a question I should know the answer to but I'm too jet-lagged to think
> of it. I'm rebuilding a system, and I've set up a new boot disk, which involved
> creating a new everyday user (call him "joe"). I've mounted the old hard disk
> with lots of stuff on it that belonged to joe on the old failed system. But now
> while the files are identified as owned by joe as the user, the group id is not
> "joe" or "user" but "1002" (no such group). I suppose I could run a massive 
> find-and-chgrp command, but I can't be the first person to face this problem,
> and there must be a simple solution, which I just can't think of right now.
> Anyone care to tell me the simple and obvious one-line solution? Even two lines
> would do. Thanks.

What does that have to do with old modems?

Or did you just hijack the thread for fun?

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list