asbjornenge / asbjornenge/tezos-docker

USB access

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Even with `-v /dev/bus/usb:/dev/bus/usb` I have to set `--user root` and `-e USER=root` to list connected ledgers 🤔 Perhaps add the `tezos` user to `plugdev` group? That is the group which gets privileges by the default `add_udev_rules.sh` script.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the Dockerfiles and the referenced add_udev_rules.sh script, then reproduce USB ledger access with the /dev/bus/usb volume as the default tezos user. Compare the container's group membership and the permissions established by the udev rules; done means connected ledgers can be listed without --user root or USER=root.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.