sets permissions before travis build