make db dir writable