[juneau-lug] Re: grub 2 / UID system mismatch

  • From: Mark Neyhart <Mark_Neyhart@xxxxxxxxxxxxxxxxx>
  • To: "juneau-lug@xxxxxxxxxxxxx" <juneau-lug@xxxxxxxxxxxxx>
  • Date: Fri, 29 Jan 2010 09:14:20 -0900

Jamie wrote:
>  I thought of converting all 
> the users' UIDs & GIDs , but there are an awful lot of files already 
> stamped with the existing UID/GID.  Anyone else fought this one?
> 

I've been through this file ownership change.  The chown command has
an option just for this purpose.

   --from=CURRENT_OWNER:CURRENT_GROUP
     change  the  owner and/or group of each file only if its current
     owner and/or group match those specified here.   Either  may  be
     omitted,  in  which case a match is not required for the omitted
     attribute.

Along with the --recursive option the wholesale change of UID/GID is a
piece of cake.
------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: