Change permissions on data directory so that mongo can write to it.