Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: #64

Closed
GAZ082 opened this issue Mar 11, 2023 · 12 comments
Closed

Comments

@GAZ082
Copy link

GAZ082 commented Mar 11, 2023

Hey there. What permissions should i have in both, the metal and docker to let Klipper access the device? And also, how do i set them in the docker container? I dont know the root password of it.

Thanks!

@GAZ082
Copy link
Author

GAZ082 commented Mar 13, 2023

I found a solution, which is logging in to the Klipper docker as root and manually changing the group of the dev to dialout.

I'm trying to see how to accomplish this in the docker-compose file, but would be nice to:

  1. Fix this in the compose files.
  2. If there is nothing to fix (I'm no docker expert :) ), just add a troubleshoot section with common problems to the main README.

@Abikebuk
Copy link

I found a solution, which is logging in to the Klipper docker as root and manually changing the group of the dev to dialout.

I'm trying to see how to accomplish this in the docker-compose file, but would be nice to:

  1. Fix this in the compose files.
  2. If there is nothing to fix (I'm no docker expert :) ), just add a troubleshoot section with common problems to the main README.

I ran into the same problem on an Arch-based distribution (EndeavourOS).
I always struggle with permission. It's not my forte and could not find a solution before catching your post.
Thank you a lot!

@GAZ082
Copy link
Author

GAZ082 commented Mar 18, 2023

@Abikebuk awesome I was helpful! Spent several hours on this :)

Im also using Arch, but in the form of ArchlinuxARM. I made a little script to set the permissions after the container is running:


serialdev="/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0"
id=$(docker ps | grep klipper | cut -d' ' -f1)
docker exec -ti -u 0 $id /bin/bash -c "chown root:dialout $serialdev"

@Pipshag
Copy link

Pipshag commented Mar 30, 2023

This might not be the best solution, but I normally add a udev rule on the host, for the USB-device, granting access. At the same time, I add a fixed device path (think /dev/usbRUMBA) to make life easier.

@GAZ082
Copy link
Author

GAZ082 commented Mar 30, 2023

This might not be the best solution, but I normally add a udev rule on the host, for the USB-device, granting access. At the same time, I add a fixed device path (think /dev/usbRUMBA) to make life easier.

Thanks Pip, thats a good one to try, should work after every reboot. Until this gets fixed in the docker-compose script.

@GAZ082
Copy link
Author

GAZ082 commented Mar 31, 2023

@Pipshag
Its not working.
Created a rule in the host but when you check the docker it gets assigned with groupID instead of plain
crw-rw---- 1 root 986 188, 0 Mar 31 01:08 ender6

I have to specifilcally set it to dialout with my script:

#!/bin/bash

serialdev="/dev/ender6"
id=$(docker ps | grep klipper | cut -d' ' -f1)
docker exec -ti -u 0 $id /bin/bash -c "chown root:dialout $serialdev"

crw-rw---- 1 root dialout 188, 0 Mar 31 01:08 ender6

@mkuf
Copy link
Owner

mkuf commented Apr 7, 2023

Please run the following commands on your host before any permissions have been modified.
This gives the named and numeric groupids that may help us in finding a solution for this.

ls /dev
ls -n /dev

docker exec $(docker ps -aqf "label=org.prind.service=klipper") ls /dev
docker exec $(docker ps -aqf "label=org.prind.service=klipper") ls -n /dev

@Pipshag Its not working. Created a rule in the host but when you check the docker it gets assigned with groupID instead of plain crw-rw---- 1 root 986 188, 0 Mar 31 01:08 ender6

Without any further info, the solution proposed by @Pipshag makes most sense to me, as long as you use numeric groupids in the udev rule, not named groupids.
Creating a udev rule that sets the groupid for the device to 20 should have the desired effect.

-Markus

@GAZ082
Copy link
Author

GAZ082 commented Apr 7, 2023

Looks like using numbers instead of text worked:

ACTION=="add",SUBSYSTEM=="tty",ATTRS{idVendor}=="1a86",ATTRS{idProduct}=="7523",SYMLINK+="ender6",GROUP="20"

This code is for a CUBOXi4-Pro.

Dont know if you Markus can implement something automated or its not necessary, but looks like at least two already had to do some workarounds with permissions. At the very minimum we need another bullet point in the troubleshooting section of the Readme.

@mkuf
Copy link
Owner

mkuf commented Apr 7, 2023

Could you share the output of the commands I mentioned?
Please disable the udev rule beforehand and re-attach your printer, so that permissions for the device are reset.

Without any further info I can not assess if a automated solution can be implemented into the project.

@GAZ082
Copy link
Author

GAZ082 commented Apr 7, 2023

[alarm@alarm dev]$ ls /dev
autofs           gpiochip1     loop1      port      stderr  tty19  tty32  tty46  tty6     ttymxc0       v4l-subdev3  vcsa1        video0
block            gpiochip2     loop2      ppp       stdin   tty2   tty33  tty47  tty60    ttymxc3       v4l-subdev4  vcsa2        video1
btrfs-control    gpiochip3     loop3      pps0      stdout  tty20  tty34  tty48  tty61    ubi_ctrl      v4l-subdev5  vcsa3        video2
bus              gpiochip4     loop4      ptmx      tty     tty21  tty35  tty49  tty62    uhid          v4l-subdev6  vcsa4        video3
cec0             gpiochip5     loop5      ptp0      tty0    tty22  tty36  tty5   tty63    uinput        v4l-subdev7  vcsa5        video4
char             gpiochip6     loop6      pts       tty1    tty23  tty37  tty50  tty7     urandom       v4l-subdev8  vcsa6        video5
console          hwrng         loop7      random    tty10   tty24  tty38  tty51  tty8     userfaultfd   v4l-subdev9  vcsu         video6
cpu_dma_latency  i2c-1         mapper     rfkill    tty11   tty25  tty39  tty52  tty9     v4l           vcs          vcsu1        video7
cuse             i2c-2         media0     rtc       tty12   tty26  tty4   tty53  ttyS0    v4l-subdev0   vcs1         vcsu2        video8
disk             input         mem        rtc0      tty13   tty27  tty40  tty54  ttyS1    v4l-subdev1   vcs2         vcsu3        watchdog
dri              kmsg          mmcblk1    rtc1      tty14   tty28  tty41  tty55  ttyS2    v4l-subdev10  vcs3         vcsu4        watchdog0
fd               lirc0         mmcblk1p1  serial    tty15   tty29  tty42  tty56  ttyS3    v4l-subdev11  vcs4         vcsu5        zero
full             log           mqueue     shm       tty16   tty3   tty43  tty57  ttyS4    v4l-subdev12  vcs5         vcsu6
fuse             loop-control  net        snapshot  tty17   tty30  tty44  tty58  ttyS5    v4l-subdev13  vcs6         vga_arbiter
gpiochip0        loop0         null       snd       tty18   tty31  tty45  tty59  ttyUSB0  v4l-subdev2   vcsa         vhci
[alarm@alarm dev]$ ls -n /dev
total 0
crw-r--r-- 1 0   0  10, 235 Apr  2 15:46 autofs
drwxr-xr-x 2 0   0      240 Mar  9 19:36 block
crw-rw---- 1 0 995  10, 234 Apr  2 15:46 btrfs-control
drwxr-xr-x 3 0   0       60 Jan  1  1970 bus
crw-rw---- 1 0 985 251,   0 Apr  2 15:46 cec0
drwxr-xr-x 2 0   0     3480 Apr  2 15:46 char
crw------- 1 0   0   5,   1 Apr  2 15:47 console
crw------- 1 0   0  10, 125 Apr  2 15:46 cpu_dma_latency
crw------- 1 0   0  10, 203 Mar  9 19:36 cuse
drwxr-xr-x 7 0   0      140 Jan  1  1970 disk
drwxr-xr-x 3 0   0      120 Apr  2 15:46 dri
lrwxrwxrwx 1 0   0       13 Jan  1  1970 fd -> /proc/self/fd
crw-rw-rw- 1 0   0   1,   7 Apr  2 15:46 full
crw-rw-rw- 1 0   0  10, 229 Apr  2 15:46 fuse
crw------- 1 0   0 254,   0 Apr  2 15:46 gpiochip0
crw------- 1 0   0 254,   1 Apr  2 15:46 gpiochip1
crw------- 1 0   0 254,   2 Apr  2 15:46 gpiochip2
crw------- 1 0   0 254,   3 Apr  2 15:46 gpiochip3
crw------- 1 0   0 254,   4 Apr  2 15:46 gpiochip4
crw------- 1 0   0 254,   5 Apr  2 15:46 gpiochip5
crw------- 1 0   0 254,   6 Apr  2 15:46 gpiochip6
crw------- 1 0   0  10, 183 Apr  2 15:46 hwrng
crw------- 1 0   0  89,   1 Apr  2 15:46 i2c-1
crw------- 1 0   0  89,   2 Apr  2 15:46 i2c-2
drwxr-xr-x 3 0   0      100 Apr  2 15:46 input
crw-r--r-- 1 0   0   1,  11 Apr  2 15:46 kmsg
crw------- 1 0   0 237,   0 Apr  2 15:46 lirc0
lrwxrwxrwx 1 0   0       28 Mar  9 19:36 log -> /run/systemd/journal/dev-log
crw-rw---- 1 0 995  10, 237 Apr  2 15:46 loop-control
brw-rw---- 1 0 995   7,   0 Mar  9 19:36 loop0
brw-rw---- 1 0 995   7,   1 Mar  9 19:36 loop1
brw-rw---- 1 0 995   7,   2 Mar  9 19:36 loop2
brw-rw---- 1 0 995   7,   3 Mar  9 19:36 loop3
brw-rw---- 1 0 995   7,   4 Mar  9 19:36 loop4
brw-rw---- 1 0 995   7,   5 Mar  9 19:36 loop5
brw-rw---- 1 0 995   7,   6 Mar  9 19:36 loop6
brw-rw---- 1 0 995   7,   7 Mar  9 19:36 loop7
drwxr-xr-x 2 0   0       60 Mar  9 19:36 mapper
crw-rw---- 1 0 985 252,   0 Apr  2 15:46 media0
crw-r----- 1 0 993   1,   1 Apr  2 15:46 mem
brw-rw---- 1 0 995 179,   0 Mar  9 19:36 mmcblk1
brw-rw---- 1 0 995 179,   1 Mar  9 19:36 mmcblk1p1
drwxrwxrwt 2 0   0       40 Jan  1  1970 mqueue
drwxr-xr-x 2 0   0       60 Mar  9 19:36 net
crw-rw-rw- 1 0   0   1,   3 Apr  2 15:46 null
crw-r----- 1 0 993   1,   4 Apr  2 15:46 port
crw------- 1 0   0 108,   0 Mar  9 19:36 ppp
crw------- 1 0   0 250,   0 Apr  2 15:46 pps0
crw-rw-rw- 1 0   5   5,   2 Apr  2 15:50 ptmx
crw------- 1 0   0 249,   0 Apr  2 15:46 ptp0
drwxr-xr-x 2 0   0        0 Mar  9 19:36 pts
crw-rw-rw- 1 0   0   1,   8 Apr  2 15:46 random
crw-rw-r-- 1 0 982  10, 242 Apr  2 15:46 rfkill
lrwxrwxrwx 1 0   0        4 Apr  2 15:46 rtc -> rtc0
crw------- 1 0   0 253,   0 Apr  2 15:46 rtc0
crw------- 1 0   0 253,   1 Apr  2 15:46 rtc1
drwxr-xr-x 4 0   0       80 Apr  2 15:46 serial
drwxrwxrwt 2 0   0       40 Mar  9 19:36 shm
crw------- 1 0   0  10, 231 Apr  2 15:46 snapshot
drwxr-xr-x 3 0   0      180 Apr  2 15:46 snd
lrwxrwxrwx 1 0   0       15 Jan  1  1970 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 0   0       15 Jan  1  1970 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 0   0       15 Jan  1  1970 stdout -> /proc/self/fd/1
crw-rw-rw- 1 0   5   5,   0 Mar  9 19:36 tty
crw--w---- 1 0   5   4,   0 Mar  9 19:36 tty0
crw--w---- 1 0   5   4,   1 Apr  2 15:47 tty1
crw--w---- 1 0   5   4,  10 Mar  9 19:36 tty10
crw--w---- 1 0   5   4,  11 Mar  9 19:36 tty11
crw--w---- 1 0   5   4,  12 Mar  9 19:36 tty12
crw--w---- 1 0   5   4,  13 Mar  9 19:36 tty13
crw--w---- 1 0   5   4,  14 Mar  9 19:36 tty14
crw--w---- 1 0   5   4,  15 Mar  9 19:36 tty15
crw--w---- 1 0   5   4,  16 Mar  9 19:36 tty16
crw--w---- 1 0   5   4,  17 Mar  9 19:36 tty17
crw--w---- 1 0   5   4,  18 Mar  9 19:36 tty18
crw--w---- 1 0   5   4,  19 Mar  9 19:36 tty19
crw--w---- 1 0   5   4,   2 Apr  2 15:46 tty2
crw--w---- 1 0   5   4,  20 Mar  9 19:36 tty20
crw--w---- 1 0   5   4,  21 Mar  9 19:36 tty21
crw--w---- 1 0   5   4,  22 Mar  9 19:36 tty22
crw--w---- 1 0   5   4,  23 Mar  9 19:36 tty23
crw--w---- 1 0   5   4,  24 Mar  9 19:36 tty24
crw--w---- 1 0   5   4,  25 Mar  9 19:36 tty25
crw--w---- 1 0   5   4,  26 Mar  9 19:36 tty26
crw--w---- 1 0   5   4,  27 Mar  9 19:36 tty27
crw--w---- 1 0   5   4,  28 Mar  9 19:36 tty28
crw--w---- 1 0   5   4,  29 Mar  9 19:36 tty29
crw--w---- 1 0   5   4,   3 Apr  2 15:46 tty3
crw--w---- 1 0   5   4,  30 Mar  9 19:36 tty30
crw--w---- 1 0   5   4,  31 Mar  9 19:36 tty31
crw--w---- 1 0   5   4,  32 Mar  9 19:36 tty32
crw--w---- 1 0   5   4,  33 Mar  9 19:36 tty33
crw--w---- 1 0   5   4,  34 Mar  9 19:36 tty34
crw--w---- 1 0   5   4,  35 Mar  9 19:36 tty35
crw--w---- 1 0   5   4,  36 Mar  9 19:36 tty36
crw--w---- 1 0   5   4,  37 Mar  9 19:36 tty37
crw--w---- 1 0   5   4,  38 Mar  9 19:36 tty38
crw--w---- 1 0   5   4,  39 Mar  9 19:36 tty39
crw--w---- 1 0   5   4,   4 Apr  2 15:46 tty4
crw--w---- 1 0   5   4,  40 Mar  9 19:36 tty40
crw--w---- 1 0   5   4,  41 Mar  9 19:36 tty41
crw--w---- 1 0   5   4,  42 Mar  9 19:36 tty42
crw--w---- 1 0   5   4,  43 Mar  9 19:36 tty43
crw--w---- 1 0   5   4,  44 Mar  9 19:36 tty44
crw--w---- 1 0   5   4,  45 Mar  9 19:36 tty45
crw--w---- 1 0   5   4,  46 Mar  9 19:36 tty46
crw--w---- 1 0   5   4,  47 Mar  9 19:36 tty47
crw--w---- 1 0   5   4,  48 Mar  9 19:36 tty48
crw--w---- 1 0   5   4,  49 Mar  9 19:36 tty49
crw--w---- 1 0   5   4,   5 Apr  2 15:46 tty5
crw--w---- 1 0   5   4,  50 Mar  9 19:36 tty50
crw--w---- 1 0   5   4,  51 Mar  9 19:36 tty51
crw--w---- 1 0   5   4,  52 Mar  9 19:36 tty52
crw--w---- 1 0   5   4,  53 Mar  9 19:36 tty53
crw--w---- 1 0   5   4,  54 Mar  9 19:36 tty54
crw--w---- 1 0   5   4,  55 Mar  9 19:36 tty55
crw--w---- 1 0   5   4,  56 Mar  9 19:36 tty56
crw--w---- 1 0   5   4,  57 Mar  9 19:36 tty57
crw--w---- 1 0   5   4,  58 Mar  9 19:36 tty58
crw--w---- 1 0   5   4,  59 Mar  9 19:36 tty59
crw--w---- 1 0   5   4,   6 Apr  2 15:46 tty6
crw--w---- 1 0   5   4,  60 Mar  9 19:36 tty60
crw--w---- 1 0   5   4,  61 Mar  9 19:36 tty61
crw--w---- 1 0   5   4,  62 Mar  9 19:36 tty62
crw--w---- 1 0   5   4,  63 Mar  9 19:36 tty63
crw--w---- 1 0   5   4,   7 Mar  9 19:36 tty7
crw--w---- 1 0   5   4,   8 Mar  9 19:36 tty8
crw--w---- 1 0   5   4,   9 Mar  9 19:36 tty9
crw-rw---- 1 0 986   4,  64 Mar  9 19:36 ttyS0
crw-rw---- 1 0 986   4,  65 Mar  9 19:36 ttyS1
crw-rw---- 1 0 986   4,  66 Mar  9 19:36 ttyS2
crw-rw---- 1 0 986   4,  67 Mar  9 19:36 ttyS3
crw-rw---- 1 0 986   4,  68 Mar  9 19:36 ttyS4
crw-rw---- 1 0 986   4,  69 Mar  9 19:36 ttyS5
crw-rw---- 1 0 986 188,   0 Apr  2 15:46 ttyUSB0
crw-rw---- 1 0 986 207,  16 Apr  2 15:47 ttymxc0
crw-rw---- 1 0 986 207,  19 Mar  9 19:36 ttymxc3
crw------- 1 0   0  10, 124 Apr  2 15:46 ubi_ctrl
crw------- 1 0   0  10, 239 Apr  2 15:46 uhid
crw------- 1 0   0  10, 223 Mar  9 19:36 uinput
crw-rw-rw- 1 0   0   1,   9 Apr  2 15:46 urandom
crw------- 1 0   0  10, 126 Apr  2 15:46 userfaultfd
drwxr-xr-x 3 0   0       60 Apr  2 15:46 v4l
crw-rw---- 1 0 985  81,   8 Apr  2 15:46 v4l-subdev0
crw-rw---- 1 0 985  81,   9 Apr  2 15:46 v4l-subdev1
crw-rw---- 1 0 985  81,  18 Apr  2 15:46 v4l-subdev10
crw-rw---- 1 0 985  81,  19 Apr  2 15:46 v4l-subdev11
crw-rw---- 1 0 985  81,  20 Apr  2 15:46 v4l-subdev12
crw-rw---- 1 0 985  81,  21 Apr  2 15:46 v4l-subdev13
crw-rw---- 1 0 985  81,  10 Apr  2 15:46 v4l-subdev2
crw-rw---- 1 0 985  81,  11 Apr  2 15:46 v4l-subdev3
crw-rw---- 1 0 985  81,  12 Apr  2 15:46 v4l-subdev4
crw-rw---- 1 0 985  81,  13 Apr  2 15:46 v4l-subdev5
crw-rw---- 1 0 985  81,  14 Apr  2 15:46 v4l-subdev6
crw-rw---- 1 0 985  81,  15 Apr  2 15:46 v4l-subdev7
crw-rw---- 1 0 985  81,  16 Apr  2 15:46 v4l-subdev8
crw-rw---- 1 0 985  81,  17 Apr  2 15:46 v4l-subdev9
crw-rw---- 1 0   5   7,   0 Apr  2 15:46 vcs
crw-rw---- 1 0   5   7,   1 Apr  2 15:46 vcs1
crw-rw---- 1 0   5   7,   2 Apr  2 15:46 vcs2
crw-rw---- 1 0   5   7,   3 Apr  2 15:46 vcs3
crw-rw---- 1 0   5   7,   4 Apr  2 15:46 vcs4
crw-rw---- 1 0   5   7,   5 Apr  2 15:46 vcs5
crw-rw---- 1 0   5   7,   6 Apr  2 15:46 vcs6
crw-rw---- 1 0   5   7, 128 Apr  2 15:46 vcsa
crw-rw---- 1 0   5   7, 129 Apr  2 15:46 vcsa1
crw-rw---- 1 0   5   7, 130 Apr  2 15:46 vcsa2
crw-rw---- 1 0   5   7, 131 Apr  2 15:46 vcsa3
crw-rw---- 1 0   5   7, 132 Apr  2 15:46 vcsa4
crw-rw---- 1 0   5   7, 133 Apr  2 15:46 vcsa5
crw-rw---- 1 0   5   7, 134 Apr  2 15:46 vcsa6
crw-rw---- 1 0   5   7,  64 Apr  2 15:46 vcsu
crw-rw---- 1 0   5   7,  65 Apr  2 15:46 vcsu1
crw-rw---- 1 0   5   7,  66 Apr  2 15:46 vcsu2
crw-rw---- 1 0   5   7,  67 Apr  2 15:46 vcsu3
crw-rw---- 1 0   5   7,  68 Apr  2 15:46 vcsu4
crw-rw---- 1 0   5   7,  69 Apr  2 15:46 vcsu5
crw-rw---- 1 0   5   7,  70 Apr  2 15:46 vcsu6
crw------- 1 0   0  10, 127 Apr  2 15:46 vga_arbiter
crw------- 1 0   0  10, 137 Mar  9 19:36 vhci
crw-rw---- 1 0 985  81,   0 Apr  2 15:46 video0
crw-rw---- 1 0 985  81,   1 Apr  2 15:46 video1
crw-rw---- 1 0 985  81,   2 Apr  2 15:46 video2
crw-rw---- 1 0 985  81,   3 Apr  2 15:46 video3
crw-rw---- 1 0 985  81,   4 Apr  2 15:46 video4
crw-rw---- 1 0 985  81,   5 Apr  2 15:46 video5
crw-rw---- 1 0 985  81,   6 Apr  2 15:46 video6
crw-rw---- 1 0 985  81,   7 Apr  2 15:46 video7
crw-rw---- 1 0 985  81,  22 Apr  2 15:46 video8
crw------- 1 0   0  10, 130 Apr  2 15:46 watchdog
crw------- 1 0   0 246,   0 Apr  2 15:46 watchdog0
crw-rw-rw- 1 0   0   1,   5 Apr  2 15:46 zero

[alarm@alarm prind]$ docker exec $(docker ps -aqf "label=org.prind.service=klipper") ls /dev
fd
full
mqueue
null
ptmx
pts
random
serial
shm
stderr
stdin
stdout
tty
urandom
zero

[alarm@alarm prind]$ docker exec $(docker ps -aqf "label=org.prind.service=klipper") ls -n /dev
total 0
lrwxrwxrwx 1 0 0   13 Apr  2 15:52 fd -> /proc/self/fd
crw-rw-rw- 1 0 0 1, 7 Apr  2 15:52 full
drwxrwxrwt 2 0 0   40 Apr  2 15:52 mqueue
crw-rw-rw- 1 0 0 1, 3 Apr  2 15:52 null
lrwxrwxrwx 1 0 0    8 Apr  2 15:52 ptmx -> pts/ptmx
drwxr-xr-x 2 0 0    0 Apr  2 15:52 pts
crw-rw-rw- 1 0 0 1, 8 Apr  2 15:52 random
drwxr-xr-x 3 0 0   60 Apr  2 15:52 serial
drwxrwxrwt 2 0 0   40 Apr  2 15:52 shm
lrwxrwxrwx 1 0 0   15 Apr  2 15:52 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 0 0   15 Apr  2 15:52 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 0 0   15 Apr  2 15:52 stdout -> /proc/self/fd/1
crw-rw-rw- 1 0 0 5, 0 Apr  2 15:52 tty
crw-rw-rw- 1 0 0 1, 9 Apr  2 15:52 urandom
crw-rw-rw- 1 0 0 1, 5 Apr  2 15:52 zero

@GAZ082
Copy link
Author

GAZ082 commented Apr 7, 2023

I think you will also want this:

[alarm@alarm prind]$ docker exec $(docker ps -aqf "label=org.prind.service=klipper") ls -n /dev/serial/by-id
total 0
crw-rw---- 1 0 986 188, 0 Apr  2 15:52 usb-1a86_USB_Serial-if00-port0

@mkuf
Copy link
Owner

mkuf commented Apr 7, 2023

Ok, so there is nothing I can do in docker or compose that could fix the mismatching groupids. This would inevitably break if someone uses another distro with completely different groupids again.

Creating a udev rule on the host is the simplest solution to fix this.
I added documentation about this to the readme in 7ca1fc2

-Markus

@mkuf mkuf closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants