deploy: fixing permissions