cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Permission denied

Open Boffice opened this issue 3 years ago • 1 comments

bash: /home/linuxbrew/.linuxbrew/bin/cloudflared: Permission denied

Boffice avatar Feb 12 '22 14:02 Boffice

chmod 0755 /home/linuxbrew/.linuxbrew/bin/cloudflared

or

chmod a+x /home/linuxbrew/.linuxbrew/bin/cloudflared

stevecomrie avatar Mar 04 '23 08:03 stevecomrie

chmod 0755 /home/linuxbrew/.linuxbrew/bin/cloudflared

or

chmod a+x /home/linuxbrew/.linuxbrew/bin/cloudflared

After doing that:

cloudflared
cloudflared: cannot execute binary file: Exec format error

or with sudo:

sudo cloudflared
cloudflared: 1: Syntax error: word unexpected (expecting ")")

korenmic avatar Apr 17 '23 23:04 korenmic

@korenmic That sounds like you have the wrong binary version for the architecture of your machine.

i.e. trying to run a 64 bit binary on a 32 bit machine, or something similar

stevecomrie avatar Apr 17 '23 23:04 stevecomrie

Had the same issue running homebrew on ubuntu.

Fixed by using packages for linux: https://pkg.cloudflare.com/index.html

risonsimon avatar Aug 03 '23 05:08 risonsimon