Skip to content

Set permissions/ownership when creating a socket #94984

Open
@Dreamsorcerer

Description

@Dreamsorcerer

Feature or enhancement

When creating a socket with one of the asyncio methods, it should be possible to specify the correct ownership/permissions needed for good security.

Pitch

When creating a server with loop.create_unix_server(), it will create the socket with default permissions which may lack security or may not be accessible to the application that is meant to communicate via this socket.

Previous discussion

python/asyncio#426

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions