changing setuser/setgroup to happen after creating the data directory