Skip to content

Add node-red user to dailout group #154

Open
@RaymondMouthaan

Description

@RaymondMouthaan

Add node-red user to dailout group by default instead of node-red group.

From Debian Wiki:

dialout: Full and direct access to serial ports. Members of this group can reconfigure the modem, dial anywhere, etc.

In current images, node-red user has it's own group node-red, which has no permissions to serial. To gain permission to serial, one needs to add --user node-red:dailout to the docker run command or equivalent in docker compose file.

We might want to add node-red user to the dailout group, so that above is no longer required and node-red has permission to serial by default.

However, current users might get permission issues with the persistent dir, because of current group.

Do all architectures have dailout group available?
[ √ ] amd64/alpine
[ √ ] arm32v6/alpine
[ √ ] arm32v7/alpine
[ √ ] arm64v8/alpine
[ √ ] i386/alpine
[ √ ] s390x/alpine

Proposal: create a feature branch for this change and do some tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions