Better support when user remove or rename the Shared directory