[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing group names

On Wed, 2006-04-05 at 12:46 -0500, Hugo Vanwoerkom wrote:
> Hi,
> 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
and /etc/group.

-matt zagrabelny

Reply to: