From 830bc1433116bbe0a64c5e25709ea6c72bbdf199 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:13:28 +0200 Subject: [PATCH] Add sdk group (#141) * Add sdk group * Add groups in alphabetical order --------- Co-authored-by: Madelen Andersson Co-authored-by: madelen-at-work --- README.md | 5 +++-- app/manifest.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 216ffd5..bcc65b3 100644 --- a/README.md +++ b/README.md @@ -416,11 +416,12 @@ In order to get access inside the container to resources on the device that are of the non-root users secondary groups, these need to be added for the container user. This can be done by using `group_add` in a docker-compose.yaml or `--group-add` if using the Docker cli. Unfortunately, adding the name of a secondary group is not supported. Instead the *mapped* id -of the group need to be used. At the moment of writing this the mappings are: +of the group need to be used. The current mappings are: | device group | container group id | | ------------ | :----------------: | -| `storage` | "1" | +| `sdk` | "1" | +| `storage` | "2" | Note that the names of the groups will *not* be correctly displayed inside the container. diff --git a/app/manifest.json b/app/manifest.json index 76c89c6..a69b4ce 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -3,7 +3,7 @@ "resources": { "linux": { "user": { - "groups": ["storage"] + "groups": ["sdk", "storage"] } } },