etcher icon indicating copy to clipboard operation
etcher copied to clipboard

Missing directory in /opt during install - solved by symlink.

Open dmcardlenl opened this issue 3 years ago • 5 comments

  • Etcher version: 1.5.117
  • Operating system and architecture: Fedora 34 x86_64
  • Image flashed:
  • Do you see any meaningful error information in the DevTools?

Missing directory in /opt during install - solved by symlink. /usr/bin/balena-etcher-electron points to /opt/balena-etcher-electron/balena-etcher-electron in /opt ln -s ./balenaEtcher ./balena-etcher-electron needed - or similar - YMMV.

dmcardlenl avatar Nov 24 '21 01:11 dmcardlenl

See also #3486

lurch avatar Nov 24 '21 02:11 lurch

Yes, I didn't think I'd be the first to encounter this...I'll look later...

On Wed, 24 Nov 2021 at 03:13, Andrew Scheller @.***> wrote:

See also #3486 https://github.com/balena-io/etcher/issues/3486

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/balena-io/etcher/issues/3640#issuecomment-977400039, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPRIZQNVWESJ5O3XLRB6G3UNRC3NANCNFSM5IU4OU4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

dmcardlenl avatar Nov 24 '21 09:11 dmcardlenl

@lurch @dmcardlenl Yup. chmod: cannot access '/opt/balena-etcher-electron/chrome-sandbox this has been an issue for as long as I have used etcher on linux. It will still run fine without making a symlink or copying /opt/balenaEtcher to /opt/balena-etcher-electron, but it is annoying nonetheless. It is probably an artifact from the days when the .debs were called and installed to "balena-etcher-electron". With how nitpicky (a good thing) balena is about fixing little things here and there in etcher, you would think they would have resolved this a long time ago.

Alex313031 avatar Dec 09 '21 03:12 Alex313031

I can confirm this error on Fedora 35 when version 1.7.3-1 is installed from RPM.

This link is broken: /usr/bin/balena-etcher-electron -> /opt/balena-etcher-electron/balena-etcher-electron

To fix the problem I run:

sudo rm /usr/bin/balena-etcher-electron
sudo ln -s /opt/balenaEtcher/balena-etcher-electron /usr/bin/balena-etcher-electron

bedawi avatar Jan 16 '22 18:01 bedawi

Also on Fedora 35, same issue. Thanks @bedawi for that quick fix.

raniesantos avatar Apr 25 '22 05:04 raniesantos

Dupe of #3486

dfunckt avatar Jul 12 '23 11:07 dfunckt