Skip to content

Read-only file system on Mac Os Sierra #5264

@ghost

Description

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

Activity

added
OS: OSXSpecific to the Mac OS X (macOS) version of the Arduino IDE
on Sep 13, 2016
petersterling

petersterling commented on Sep 15, 2016

@petersterling

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

ghost

ghost commented on Sep 15, 2016

@ghost

@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

facchinm commented on Sep 15, 2016

@facchinm
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

petersterling commented on Sep 15, 2016

@petersterling

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

sandeepmistry commented on Sep 15, 2016

@sandeepmistry
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

petersterling commented on Sep 15, 2016

@petersterling

@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

sandeepmistry commented on Sep 15, 2016

@sandeepmistry
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

facchinm commented on Sep 16, 2016

@facchinm
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

added this to the Release 1.6.12 milestone on Sep 21, 2016
cmaglie

cmaglie commented on Sep 22, 2016

@cmaglie
Member

Fixed with #5374 and released with IDE 1.6.12.

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

    OS: OSXSpecific to the Mac OS X (macOS) version of the Arduino IDEType: Bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cmaglie@sandeepmistry@petersterling@facchinm

        Issue actions

          Read-only file system on Mac Os Sierra · Issue #5264 · arduino/Arduino