Skip to content

Commit

Permalink
Add sdk group (#141)
Browse files Browse the repository at this point in the history
* Add sdk group

* Add groups in alphabetical order

---------

Co-authored-by: Madelen Andersson <[email protected]>
Co-authored-by: madelen-at-work <[email protected]>
  • Loading branch information
3 people authored Apr 23, 2024
1 parent ccc5fe6 commit 830bc14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resources": {
"linux": {
"user": {
"groups": ["storage"]
"groups": ["sdk", "storage"]
}
}
},
Expand Down

0 comments on commit 830bc14

Please sign in to comment.