Consolidate code for chown'ing for the deploy user