Fix cask permissions [#239]