Skip to content

Document how to deal with FILE_ERROR_ACCESS_DENIED in Linux #266

@agustinmista

Description

@agustinmista

Some Linux builds of Chromium and friends are often prone to not being able to open serial devices that by default belong to root. The recommended way to solve this is to add a udev rule overriding their mode to something more open like 0666.

For instance, adding the following to /etc/udev.d/99-heltec-v3.rules did the trick for me:

# Silicon Labs CP210x UART Bridge (Heltec V3)
SUBSYSTEM=="tty" ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="0666"

The specific values for the vendor and product ID will depend on the particular device being flashed. After that, one can reload the rules by running sudo udevadm trigger or by re-plugging the device.

I think this could be documented somewhere. Maybe in a small "troubleshooting" drop down near the flash button? 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions