Changing call to create tmp dir as the database user
Changing call to create tmp dir as the database user

Previously would run as root, and only set the target directories
permissions. If parent directories were unreadable by the db user, then
pg-upgrade would fail.

gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab