fix cabal permissions