Groups 12 and 14
Randy Rowe
rerowe at rerowe.com
Sat Nov 6 12:29:23 PST 2004
On Sat, 2004-11-06 at 13:40, Matthew Seaman wrote:
> On Sat, Nov 06, 2004 at 07:15:45PM +0000, S. Anthony Sequeira wrote:
> > Can anyone tell me which groups 12 and 14 are, on a 4.10 system please.
> >
> > I keep getting this from 340.noid
> >
> > Check for files with an unknown user or group:
> > /usr/compat/linux/var/lock
> > /usr/compat/linux/var/spool/mail
> >
> > $ ls -ld /usr/compat/linux/var/lock /usr/compat/linux/var/spool/mail
> > drwxrwxr-x 3 root 14 512B Apr 18 2004 /usr/compat/linux/var/lock
> > drwxrwxr-x 2 root 12 512B Feb 6 1996
> > /usr/compat/linux/var/spool/mail
> >
> > FreeBSD 4.10-STABLE #0: Fri Nov 5 21:32:19 GMT 2004
>
> They aren't assigned to anything by default under FreeBSD. What you
> are seeing are the default group assignments under Linux -- I believe
> that GID 12 is 'mail', but I have no idea what gid 14 is for. On my
> system, that file ends up as group 54:
>
> % find /usr/compat/ -nogroup -ls
> 166930 2 drwxr-xr-x 3 root 54 512 Nov 3 08:00 /usr/compat/linux/var/lock
> 182529 2 drwxr-xr-x 2 root 12 512 Feb 6 1996 /usr/compat/linux/var/spool/mail
>
> Which might be a difference due to having a different version of
> linux-base installed:
>
> % pkg_info -I linux\*base\*
> linux_base-8-8.0_4 Base set of packages needed in Linux mode (only for i386)
>
> As the /compat/linux stuff uses the base /etc/passwd data for it's UID
> and GID information, those group ownerships are arguably incorrect;
> however, I don't think that they really make any sort of difference.
> You could try experimenting with changing the group ownership of those
> files and see if anything breaks...
>
> Cheers,
>
> Matthew
>
On my Fedora 2 system they match as follows:
mail:x:12:mail
uucp:x:14:uucp
lock:x:54:
More information about the freebsd-stable
mailing list