server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE