Skip to content

UTF-8 normalization does not work correctly on ZFS. #4649

Closed

Description

@canton7

See https://forum.syncthing.net/t/utf8-encoding-conflict-with-another-file/11122.

It turns out that ZFS doesn't do any normalization when storing files,
but does do normalization "as part of any comparison process".

In practice, this seems to mean that if you LStat a normalized filename,
ZFS will return the FileInfo for the un-normalized version of that
filename.

This means that our test to see whether a separate file with a
normalized version of the filename already exists was failing, as we
were detecting the same file.

Activity

  1. added 2 commits that reference this issue on Jan 5, 2018
    e910588
    dd6f937
  2. added this to the v0.14.44 milestone on Jan 9, 2018
  3. added
    bug
    on Jan 9, 2018
  4. added 2 commits that reference this issue on Jan 14, 2018
    6105b20
    1178e30
  5. added
    frozen-due-to-age
    on Jan 6, 2019
  6. locked and limited conversation to collaborators on Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions