Skip to content

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

@jhowe-sgs

Description

@jhowe-sgs

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

Installs 0644, should be 0755.

Activity

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[/+] on Dec 7, 2015
bertsierra

bertsierra commented on Jan 4, 2016

@bertsierra

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

facchinm commented on Jan 4, 2016

@facchinm
Member

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

jhowe-sgs commented on Jan 28, 2016

@jhowe-sgs
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jhowe-sgs@bertsierra@facchinm

        Issue actions

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