etcher
etcher copied to clipboard
error Error: User did not grant permission.
- Etcher version: 1.7.9
- Operating system and architecture: KDE Neon
- Image flashed: ubuntu-22.04-desktop-amd64.iso
- What do you think should have happened: It should have prompted me for admin elevation and then flashed the ISO to the USB drive
-
What happened:
Flashing won't start and the dev console shows
error Error: User did not grant permission.
- Do you see any meaningful error information in the DevTools?
error Error: User did not grant permission.
at ChildProcess.exithandler (child_process.js:317)
at ChildProcess.emit (events.js:315)
at maybeClose (internal/child_process.js:1048)
at Socket.<anonymous> (internal/child_process.js:439)
at Socket.emit (events.js:315)
at Pipe.<anonymous> (net.js:673)
gui.js:46 Terminating IPC server
gui.js:46 Flash results {cancelled: true, skip: false}
gui.js:46 Fri Jul 29 2022 09:27:07 GMT-0400 (Eastern Daylight Time) Elevation cancelled ({"image":{"size":3654957056,"name":"ubuntu-22.04-desktop-amd64.iso","hasMBR":true,"partitions":[{"offset":32768,"size":3650234368,"type":"EBD0A0A2-B9E5-4433-87C0-68B6B72699C7","guid":"A09DB2B8-B5F6-43AE-AFB2-91E0A90189A1","name":"ISO9660","index":1},{"offset":3650267136,"size":4349952,"type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B","guid":"A09DB2B8-B5F6-43AE-AFB1-91E0A90189A1","name":"Appended2","index":2},{"offset":3654617088,"size":307200,"type":"EBD0A0A2-B9E5-4433-87C0-68B6B72699C7","guid":"A09DB2B8-B5F6-43AE-AFB0-91E0A90189A1","name":"Gap1","index":3}],"extension":"iso","path":"/home/jed/Downloads/ubuntu-22.04-desktop-amd64.iso"},"drives":[{"size":124623257600,"isVirtual":false,"enumerator":"lsblk:json","logicalBlockSize":512,"raw":"/dev/sda","error":null,"isReadOnly":false,"displayName":"/dev/sda","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"/dev/sda","busVersion":null,"isSystem":false,"busType":"USB","isCard":null,"isUSB":true,"devicePath":"/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0","mountpoints":[],"description":"Ubuntu 22.04 LTS amd64 Lexar USB_Flash_Drive (ESP)","isUAS":null,"partitionTableType":"gpt"}],"driveCount":1,"uuid":"a7c61e76-ac3d-4498-8324-7b91c53c2cc5","status":"cancel","flashInstanceUuid":"a7c61e76-ac3d-4498-8324-7b91c53c2cc5","sample":0.1,"applicationSessionUuid":"033b7f60-905e-483e-bc0e-98be4429c364","flashingWorkflowUuid":"a57af0ca-8c15-4f43-b09b-c78567752dbd"})
gui.js:35 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
- Workaround
Running sudo /opt/balenaEtcher/balena-etcher-electron %U
from the command line allows me to flash the image correctly but this should not be necessary.