#+title: Fedora Atomic #+setupfile: ../org-templates/page.org ** Access USB serial device in container Create a udev rule on the host for all usb-serial devices. Set OWNER to your 1000 user. #+begin_src shell cat << EOF | sudo tee /etc/udev/rules.d/50-usb-serial.rules SUBSYSTEM=="tty", SUBSYSTEMS=="usb-serial", OWNER="jas" EOF #+end_src Reload udev. #+begin_src shell sudo udevadm control --reload-rules sudo udevadm trigger #+end_src The serial device should now be owned by your user. #+begin_src shell ls -l /dev/ttyUSB0 crw-rw----. 1 jas dialout 188, 0 Mar 15 11:09 /dev/ttyUSB0 #+end_src You can now run minicom inside the toolbox container. #+begin_src shell distrobox enter default minicom -D /dev/ttyUSB0 #+end_src