How can I set read/write permissions of a UDS socket?
Inside my rust application, I create the socket with:
let listener = std::os::unix::net::UnixListener::bind(uds_path);
or, most of the time, with tokio:
let listener = tokio_uds::UnixListener::bind(uds_path);
After the creation, I need to change the read/write permissions and/or to change the owner of the socket.
Is there a way to achieve it?