Unable to compile Blink on Mac OS X with Arduino 1.6.7

Following the quick start guide for arduino 101, I downloaded the board file and tried to compile the blink example.
I failed and ran into the following error:

Arduino: 1.6.7 (Mac OS X), Board: "Arduino 101"

java.nio.file.AccessDeniedException: /build
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at processing.app.BaseNoGui.getBuildFolder(BaseNoGui.java:128)
at processing.app.Sketch.build(Sketch.java:1083)
at processing.app.Editor$BuildHandler.run(Editor.java:2011)
at java.lang.Thread.run(Thread.java:745)
/build

Any suggestion?

Hi weifen,
it looks like your TEMP folder has been set to "/" and your user has no permission to write it (obviously).
Can you type

echo $TMPDIR

in a Terminal and report here the output?

delete ~/Library/Arduino15 folder
then run IDE again
solve the problem!