use a non-recursive chmod on the datadir