commaai / commaai/flash

SecurityError on Chromium installed with snap

Open
#110 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
20
Forks
73
PR merge metrics
No merged PRs in 30d

Description

I got this on Chromium installed with snap on Ubuntu 22.04 on arm64:

Image
Image
Image

Took a bit to research the issue and I was finally been able to flash after I ran the following command:
```
sudo snap connect chromium:raw-usb
```

This is [by design](https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1780678)...

Documentation: https://snapcraft.io/docs/interface-management

Adding a udev rule doesn't seem to have any effect on the issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file, test, or entry point is identified in the report. First review how flash is invoked from Chromium on Ubuntu 22.04 arm64 and verify the documented snap interface-management guidance; done should mean the SecurityError and USB flashing limitation are clearly addressed for snap-installed Chromium.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.