balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.64k stars 2.1k forks source link

Missing password prompt in v1.5.116 on macOS 10.15 (EACCES error) #3460

Closed mcous closed 1 year ago

mcous commented 3 years ago

Hello! I use Etcher really frequently for work, and I noticed a strange change in behavior after upgrading from v1.5.115 to v1.5.116.

I have tried reinstalling the application directly from GitHub releases, ~but I have not yet tried clearing out ~/Library/Application\ Support/balena-etcher/~ and clearing out Etcher's Application Support directory does not help, either. Downgrading back to 115 works around the issue described below.

previous / expected behavior

  1. Select file
  2. Select target
  3. Click "Flash"
  4. Etcher pops up password prompt, enter password
  5. Etcher flashes target

new behavior

  1. Select file
  2. Select target
  3. Click "Flash"
  4. No password prompt, instead Etcher fails with an EACCES error
{
  "stack": "Error: EACCES: permission denied, open '/var/folders/j5/_yv5y3hj3q39d98d0hzgn58r0000gn/T/etcher/balena-etcher-electron-438f2f51af7b.cmd'",
  "message": "EACCES: permission denied, open '/var/folders/j5/_yv5y3hj3q39d98d0hzgn58r0000gn/T/etcher/balena-etcher-electron-438f2f51af7b.cmd'",
  "errno": -13,
  "code": "EACCES",
  "syscall": "open",
  "path": "balena-etcher-electron-438f2f51af7b.cmd",
  "image": "ot2-fullimage(9).zip"
}

application / system details

johnweber commented 3 years ago

Confirmed that this issue seems to still exist on 1.5.120. A downgrade to 1.5.115 resolves the issue, but I didn't try any versions between 1.5.116 and 1.5.120.

Etcher version: v1.5.120
Operating system and architecture: macOS 10.15.7 x64
Image flashed: [https://developer.nvidia.com/jetson-nano-sd-card-image](https://developer.nvidia.com/jetson-nano-sd-card-image)
mcous commented 1 year ago

Closed due to lack of attention / staleness