create and own database dir