Skip to content

Version 1.6.6: Bad permissions on Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin #4270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jhowe-sgs opened this issue Dec 7, 2015 · 3 comments

Comments

@jhowe-sgs
Copy link

Using 1.6.6, the zipped file installs this file sans the execute bit.

Installs 0644, should be 0755.

@jhowe-sgs jhowe-sgs changed the title Bad permissions on Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin Version 1.6.6: Bad permissions on Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin Dec 7, 2015
@bertsierra
Copy link

I noticed that the same issue persists in Arduino IDE 1.6.7, released in December 2015. Same issue: avrdude_bin executable ships without the execute bits enabled under OS X at least:

Flags before:
-rw-r--r--@ 1 admin staff 369784 Apr 14 2015 avrdude_bin

Fix:
chmod 755 avrdude_bin ## in admin account

Flags after:
-rwxr-xr-x@ 1 admin staff 369784 Apr 14 2015 avrdude_bin

@facchinm
Copy link
Member

facchinm commented Jan 4, 2016

avrdude_bin is shipped without executable bit to avoid Gatekeeper warning on Yosemite and newer OSX (#3468)
If you take a look at avrdude wrapper script (which gets called by the IDE) it takes care of adding the executable flag.

@jhowe-sgs
Copy link
Author

See #4501 for issues on a multi-user laptop deployment scenario.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants