Groups 12 and 14
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Nov 6 11:40:40 PST 2004
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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041106/c5a4ac8d/attachment.bin
More information about the freebsd-stable
mailing list