You have to be running Oil as a user that has permissions to write an d edit files.
If you run it as root, you will create files as root and your webserver probably won't be able to read them.
In this instance you are failing to create files as the folder is not accessable to the user you are running as.
I run as me = "phil" on my MacBook, what are you running as?