Configure a shared directory