Skip to content

cmd/soju: Create unix domain sockets with the right permissions#65

Open
zsoltiv wants to merge 1 commit intoemersion:masterfrom
zsoltiv:fix-racy-admin-socket-creation
Open

cmd/soju: Create unix domain sockets with the right permissions#65
zsoltiv wants to merge 1 commit intoemersion:masterfrom
zsoltiv:fix-racy-admin-socket-creation

Conversation

@zsoltiv
Copy link

@zsoltiv zsoltiv commented Dec 12, 2024

This PR eliminates a small window of time when each unix domain socket has the directory's permissions. This is accomplished by setting and resetting umask for each net.Listener object.

This eliminates a small window of time when each unix domain socket
has the directory's permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant