buddy icon indicating copy to clipboard operation
buddy copied to clipboard

Permission denied

Open dev-null-undefined opened this issue 1 year ago • 1 comments

Getting permision denied on linux

fixed by using chown on /dev/bus/usb/003/014 To be the "file" was owned by root so I hade to sudo chown $USER: /dev/bus/usb/003/014 Which then made it work.

For others with this issue to find the path to the device us lsusb

Which will give you something like Bus XXX Device YYY: ID AAAA:BBBB ... SMT ... in DFU mode

You can double check the AAAA:BBBB it should be same as on the website and then the path is /dev/bus/usb/XXX/YYY

It could be helpful to provide this information if possible in the error message when permission denied encountered on linux.

dev-null-undefined avatar Jun 05 '24 20:06 dev-null-undefined

The 'normal' fix is to add yourself to the dialout group ... i.e. sudo gpasswd --add ${USER} dialout ... , and then log out/in so the group/permission change is applied. btw, the VID:PID will always be 0483:df11 for STM32 DFU mode USB device.

But yes, a link to some troubleshooting steps would be a good idea.

pfeerick avatar Jun 06 '24 02:06 pfeerick