make sure deployment dir is owned by the user