[zeromq-dev] Setting privileges on a UNIX socket

Ale Strooisma a.strooisma at student.utwente.nl
Wed May 25 14:50:06 CEST 2016


Okay, a bit of an update: I tried ensuring the socket was available using
systemd, but when the program that binds to the port runs, it resets the
privileges.

On 25 May 2016 at 12:32, Ale Strooisma <a.strooisma at student.utwente.nl>
wrote:

> Hi all,
>
> For my program, I am using the ipc protocol. The unix socket used needs to
> be accessible to various programs run by different users, so I want to set
> group write privileges. How can I do this? Can I set this using ZeroMQ from
> within the program that binds the socket, or do I need to make sure the
> socket is in place with the right privileges before running any of my
> programs? The latter option would be rather unpractical of course.
>
> Kind regards,
> Ale Strooisma
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160525/67e1ccf7/attachment.htm>


More information about the zeromq-dev mailing list