claim

fun claim(): String?

Return

null once this process owns the cache dir, else why it must stand down. A filesystem that cannot answer is not contention (NFS, some FUSE): both failures below run unclaimed rather than refuse — that costs less than the case refusing would catch.