filename-collision · shipping · also File name collision

Filename collision

A filename collision occurs when distinct required file names resolve to the same destination entry under a naming or lookup policy.

Identity boundary: stored spelling, canonical Unicode equivalence and case-insensitive lookup are different properties. Linux ext4 documents name-preserving, per-directory case-insensitive lookup; Windows also exposes per-directory case-sensitivity controls. Do not infer destination rules from the operating-system name alone. [1] [2]

Verification consequence: content equality cannot establish that every required directory entry survives. In Hesela's fixed application-transform experiment, two equal-content names collapse to one while both content checks pass. Preserve lossless original names, the intended mapping and a complete output inventory alongside payload checks. This is a scoped acceptance-test lesson, not a filesystem emulator or a backup-product failure rate. [4]

Evidence scope: Basu and colleagues study resource-type collisions and resulting data or metadata changes. Their 2022 preprint motivates destination-specific checks, not a claim that all current copy tools share one behavior. [3]

A lookup-hash collision is a different relation. exFAT can assign the same NameHash to unequal names, and its lookup must resolve the candidate by comparing names. Linux v6.16 does that after checking hash and length. Do not replace a destination-name comparison with a hash-only inventory check. [5]

The cited preprint was published at FAST 2023. Section 8 explains why checking only an archive can miss pre-existing destination entries or use different name rules; a preflight check also does not remove concurrent path-change risks. These are design limitations, not evidence that a current product is vulnerable. [6]

Relations

related
Backup manifest, Backup verification, Restore test, Archive member, exFAT, Character encoding, UTF-8, Unicode normalization

Advantages

  • Explicit collision handling can prevent accidental merging of distinct required entries.

Limitations

  • A generic Unicode transform does not establish a particular filesystem's complete name-resolution behavior.
  • Single-component collision checks do not cover links, parent components, pre-existing targets or concurrent changes.

Citations

  1. Linux kernel documentation: ext4 case-insensitive file name lookups (accessed 2026-10-20)
  2. Microsoft Learn: per-directory case sensitivity (accessed 2026-10-20)
  3. Basu, Sampson, Qian and Jaeger (2022): Unsafe at Any Copy, arXiv:2211.16735v1 (accessed 2026-10-20)
  4. Hesela: Restoring file names: when matching hashes hide a lost entry (accessed 2026-10-20)
  5. Linux v6.16: fs/exfat/dir.c, exfat_find_dir_entry (accessed 2026-11-08)
  6. Basu, Sampson, Qian and Jaeger: Unsafe at Any Copy, FAST 2023, pp. 183-198 (accessed 2026-11-08)
Sources & caveats
  • Primary documentation, historical preprint and controlled synthetic observations; no current product vulnerability claim.
  • 2026-11-08: full FAST 2023 publication and pinned Linux v6.16 lookup reviewed; no new native filesystem experiment.

JSON: /data/terms/filename-collision.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Filename collision. Hesela. 2026-11-17. https://hesela.dev/terms/filename-collision/