Skip to content

Makefile change to enable binding to low ports (443) without running as root #4

Open
@karmakaze

Description

@karmakaze

As discussed[0] and described[1].

Basically do

setcap 'cap_net_bind_service=+ep' /path/to/program

Which doesn't alter the programs data bytes but does allow it to bind to low ports on the installed system, so that's an install time step not a build one.

[0] StackOverflow 36875673
[1] Apache.org Wiki

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions