Re: changing group names
- To: firstname.lastname@example.org
- Subject: Re: changing group names
- From: Matt Zagrabelny <email@example.com>
- Date: Wed, 05 Apr 2006 13:32:02 -0500
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org>
On Wed, 2006-04-05 at 12:46 -0500, Hugo Vanwoerkom wrote:
> This may be common knowledge but it was news to me.
> I have lets say three partitions:
> 1 home partition and 2 Sarge partitions. These refer to the home partition.
> Examining the home files for group names you might notice that they
> differ depending on what partition root is on.
> I examine /home/joe and it's user:group may be joe:joe from one root
> partition but mary:mary from the other.
> You straighten it out with:
> chown -R joe:joe /xxx/.../home/joe
> But everytime you switch root partitions you have to do that.
> Must mean that group names refer to indices and not actual names?
yeah, i believe the inodes look at the UID and GID. so if you want it to
be sane across both partitions make sure joe and mary and whoever else
have the same UIDs on both partitions. this is done under /etc/passwd