[zeromq-dev] IPC REQ/REP socket unavailable to other users?

Dana Leonard dleonar at gmail.com
Tue Aug 10 21:00:27 CEST 2010

Hi everyone,
   I've found a strange socket behavior on a Red Hat linux box today.  I
have a server process that opens an IPC REQ/REP socket that is used to
accept association requests from clients. Clients can use this socket just
fine, as long as the client process is executed by the same user who
executed the server. For example: User A starts the server. User A starts a
client process and it associates with the server fine. User B starts another
client, and it fails while connecting to the socket.

   Is this a standard behavior for IPC sockets on Unix or does the socket
need additional configuration to allow different users to use it? I have
tried changing the permissions on the socket to 777 to no avail. Even root
cannot use a socket created by another user. Has anyone run into this before
and figured out how to fix it?

   By the way, the "run everything as the same user" solution does not fit
the requirements of our project.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100810/32bfa7bf/attachment.htm>

More information about the zeromq-dev mailing list