-
-
Notifications
You must be signed in to change notification settings - Fork 7k
V1.6.7 Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude assumes it's being run by an admin user/install owner #4501
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
Comments
Also Im the only user on the Mac and logged in as a Admin |
This one should be addressed by #5021, the new version of avrdude is build with libusb statically linked so there should be no more need for the workaround. |
Should be fixed by #5021 @jhowe-sgs @blueskyworld Please reopen the issue if the problem is not solved. |
Not fixed. At least with Arduino IDE 1.7.11 + Mac OS 10.12 + Arduino Yun got this: |
IDE 1.7.11 is not this repo but this one. Please check again using IDE 1.6.12 you can download from http://www.arduino.cc/en/Main/Software |
As a workaround for Gatekeeper under Mac OS X, the IDE ships with a simple wrapper script to change the exec permissions of Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin after install. #3468
However, this script will fail for non-admin users running the Arduino IDE ( students in a lab ) since it doesn't have admin access. #4270
When pushing code, the faculty members ( local admins ) also get a chmod warning: #4270
chmod: Unable to change file mode on /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin: Operation not permitted
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude_bin: line 6: ... : Permission denied
A more graceful degradation might be to check to see if the current user is the owner of the file being chmod'ed, or provide a command line fix wrapped in sudo. I don't know how wrapping the chmod call in the avrdude script with a sudo call would bubble up the authentication challenge in the IDE UI.
Thanks
The text was updated successfully, but these errors were encountered: