When trying to access ‘/dev/ttyUSB0’ in the toolbox container using silverblue F36 (system release at bottom) the device fails with the following error
Cannot create lockfile for /dev/ttyUSB0: Permission denied
I’ve check the permissions for the device and it’s assigned to ‘nobody:nobody’ and hence won’t allow me to access.
Looked around I found a guide to use ‘udev rules’ to give me permission for the device, Accessing USB serial devices in Fedora Silverblue – Just another Linux geek and I get the following error.
Unfortunately I fail at the following point.
sudo udevadm control --reload-rules Failed to send reload request: No such file or directory
I’ve restarted both the container and my system and the udev rule hasn’t been applied so I’m not sure how to access the ttyUSB device.
Does anyone know how to access the tty device in a Silverblue toolbox container as I would like to be able to use software from inside toolbox to access the USB device.
● fedora:fedora/36/x86_64/silverblue Version: 36.20220508.0 (2022-05-08T00:42:01Z) BaseCommit: dd4ac38b4030e0192777eef2c243f1b2a777f6d6526fd52b84f0a2ec2984b6bb GPGSignature: Valid signature by 53DED2CB922D8B8D9E63FD18999F7CBF38AB71F4 LayeredPackages: ddcutil ffmpeg-libs mozilla-openh264 openssl tmux wireshark zsh LocalPackages: rpmfusion-free-release-36-0.2.noarch rpmfusion-nonfree-release-36-0.2.noarch