Fix deploy group permissions under sudo with "mkdir -p"