Change permission of shared repository