Re: Solaris 2.6 and sockets

Eivind Eklund (perhaps@YES.NO)
Sun, 12 Oct 1997 21:04:33 +0200

>
> > I have noticed strange things happening under Solaris 2.6 (final release)
> > Any Unix socket created by ANY application has permissions 4777!!!!
> > ie: srwxrwxrwx 1 root root 0 Oct 3 21:22 mysql.sock
> > Check out your /tmp directory :)
>
> I believe this affects almost everyone. I fixed this a while back.

It does not affect FreeBSD -current and RELENG_2_2 (that is, it will
be OK in 2.2.5-RELEASE). It is NOT fixed in FreeBSD 2.2.2.

I don't know if the FreeBSD patch was inspired by the OpenBSD patch;
the fix came along with a bunch of other changes by wollman, one of
the people doing most networking work under FreeBSD.

Eivind.