[5382] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Solaris 2.6 and sockets

daemon@ATHENA.MIT.EDU (Eivind Eklund)
Sun Oct 12 15:42:55 1997

Date: 	Sun, 12 Oct 1997 21:04:33 +0200
Reply-To: Eivind Eklund <perhaps@YES.NO>
From: Eivind Eklund <perhaps@YES.NO>
X-To:         Theo de Raadt <deraadt@CVS.OPENBSD.ORG>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  Theo de Raadt's message of Sun, 5 Oct 1997 00:27:36 -0600

>
> > 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.

home help back first fref pref prev next nref lref last post