Skip to content
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

Read-only file system on Mac Os Sierra #5264

Closed
ghost opened this issue Aug 18, 2016 · 9 comments
Closed

Read-only file system on Mac Os Sierra #5264

ghost opened this issue Aug 18, 2016 · 9 comments
Labels
OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Type: Bug

Comments

@ghost
Copy link

ghost commented Aug 18, 2016

Because of the new preferences, Arduino isn't able to edit a file because it's locked with Read-Only.
schermafbeelding 2016-08-18 om 22 50 35
schermafbeelding 2016-08-18 om 22 50 50

@cmaglie cmaglie added Type: Bug OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE labels Sep 13, 2016
@petersterling
Copy link

Yes, this issue is causing me a lot of pain at the moment too. Any ideas when it will be resolved?

@ghost
Copy link
Author

ghost commented Sep 15, 2016

@petersterling yes, i think i was able to do it. But then i got another error and i gave up. I just used my old laptop then. I can send you a video on how I did it of you want?

@facchinm
Copy link
Member

We are working on a couple of Sierra-related fixes which will be published just after Sierra goes "live", so don't worry 😄

@petersterling
Copy link

Thanks @facchinm it will be good to get going again! I don't suppose there is any way to get a beta of the IDE to go along with my macOS dev beta? Cheeky, but you gotta ask! :-)

@sandeepmistry
Copy link
Contributor

I don't have Sierra installed, but something for you to try out for us:

Download IDE, unzip, open once, exit. Then in the terminal app run:

cd /Applications/Arduino.app/Contents/Java/hardware/tools/avr/lib

install_name_tool -id libusb-1.0.0.dylib libusb-1.0.0.dylib
install_name_tool -id libusb-0.1.4.dylib libusb-0.1.4.dylib
install_name_tool -change /Users/jenkins/jenkins/workspace/toolchain-avr-mac32/objdir/lib/libusb-1.0.0.dylib "@executable_path/../lib/libusb-1.0.0.dylib" libusb-0.1.4.dylib


cd ../bin
install_name_tool -change /Users/jenkins/jenkins/workspace/toolchain-avr-mac32/objdir/lib/libusb-1.0.0.dylib "@executable_path/../lib/libusb-1.0.0.dylib" avrdude_bin
install_name_tool -change /Users/jenkins/jenkins/workspace/toolchain-avr-mac32/objdir/lib/libusb-0.1.4.dylib "@executable_path/../lib/libusb-0.1.4.dylib" avrdude_bin
mv avrdude avrdude.sh
mv avrdude_bin avrdude
chmod +x avrdude

Maybe only the chmod is needed, but this removes the need for the old bash script.

@petersterling
Copy link

@sandeepmistry - thanks for that... But I had just downloaded the nightly build version of the Mac IDE, I guess while you were typing, and it works! While this is great news for me, is it what you would have expected?

@sandeepmistry
Copy link
Contributor

I just tried the hourly build, it doesn't appear to be signed like the official IDE releases, so maybe it doesn't have this same restrictions?

@facchinm any ideas on this?

@facchinm
Copy link
Member

Yes, Apple has no restrictions on unsigned apps (since you are prompted to accept to run it anyway).
I'll produce a signed app to test the correct functionality in the next couple of hours

@cmaglie
Copy link
Member

cmaglie commented Sep 22, 2016

Fixed with #5374 and released with IDE 1.6.12.

@cmaglie cmaglie closed this as completed Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants