Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2004 19:40:32 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "S. Anthony Sequeira" <tony@sequeira.org.uk>
Cc:        FreeBSD List <freebsd-stable@freebsd.org>
Subject:   Re: Groups 12 and 14
Message-ID:  <20041106194032.GA10809@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <1099768545.5209.9.camel@meteor.sequestor.lan>
References:  <1099768545.5209.9.camel@meteor.sequestor.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> I keep getting this from 340.noid
>=20
> Check for files with an unknown user or group:
>   /usr/compat/linux/var/lock
>   /usr/compat/linux/var/spool/mail
>=20
> $ 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
>=20
> 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=20
    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


--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjSiwiD657aJF7eIRAg7xAJ9OEbkRwAbnj0hzrUaYh6E6Zg1H1ACgt2q2
jFHCuyDA9pNajpV2HWjvQus=
=OmBU
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041106194032.GA10809>