Date: Tue, 9 Sep 1997 14:18:58 +1000 From: Bruce Evans <bde@zeta.org.au> To: brian@awfulhak.org, tom@sdf.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: unix domain sockets in 2.2-stable Message-ID: <199709090418.OAA26730@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> I found out what is happening. The group and other permissions on unix >sockets are ignored. In my case the pwcheck daemon runs as root, and >therefore the socket is owned by root. However, the cyrus daemons can't >open the socket because it seesm that the other bits (I have r-x >set) are ignored, and the cyrus daemons run as the cyrus user. If I chown >the socket after pwcheck opens it, to the cyrus user, everything works ok. Perhaps the bits used to be rwx. Bruce RCS file: /a/ncvs/src/sys/kern/uipc_usrreq.c,v Working file: uipc_usrreq.c head: 1.26 ... ---------------------------- revision 1.15.4.2 date: 1997/08/15 13:54:00; author: wollman; state: Exp; lines: +2 -2 Obey the process's umask when bind()ing a PF_LOCAL socket. PR: 2680 ----------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709090418.OAA26730>