From: rgooch@rp.CSIRO.AU (Richard Gooch) Subject: Re: HELP: Problems with groups Date: Sat, 23 Jan 1993 00:23:57 GMT
In article <4fLl1ga00iV105jsUP@andrew.cmu.edu>, Peter William Wieland <pw1r+@andrew.cmu.edu> writes:
>
> I've been having problems getting the user directory's (home/peter,
> home/alex, etc...) group set properly. Linux seems to change them back
> on the fly.
>
> I've made a new group using groupadd, made the new users using useradd
> and then tried to chgrp their home directories. The group changes and
> shows up properly when I do an ls -l, but after about 30 seconds, the
> group is changed to 232 or 233 (neither of which exists in /etc/group).
> I've noticed, however, that the group won't change back if that user is
> logged in on another console, but once you logout the group changes
> shortly after.
>
> I've tried syncing immediately afterwards but the group still changes
> thirty seconds (or so) later. I've tried adding the group by hand to
> /etc/group and adding the users by hand to /etc/passwd but it won't work
> right.
Let me guess... The GID of the group you have is over 255... If you created
a group "people" with GID 1234, then after a while (after the next sync, I
bet), it appears as GID 210
The Minix filesystem has 8 bit GIDs. The extended filesystem is supposed to
have longer GIDs... Use an extended fs partition (number 83) and use mkefs
(NOT mkfs !) and the problem should go away (in theory).
Regards,
Richard Gooch....