[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Ownership and permissions of UDSes

Chris Ross cross+conserver@distal.com
Mon, 4 Jun 2007 14:09:34 -0700 (PDT)



Hey there. I was just noticing that there is no way to set ownership or permissions of sockets when using --with-uds. The server creates the sockets in the filesystem (in the bind(2) call), and they are left with default permissions. In my case, this is mode 755, which means that only root can talk to the conserver process.


This seems like an option that should go into the configuration file, and of course only really makes sense if the server is compiled with --with-uds. But, without it, it's hard to get it to allow people to connect. ;-)

- Chris