Fixing repo's permission