Skip to content

Versions path does not honor tilde (~) shortcut #9241

Closed

Description

@SixFive7

Hi,

It seems the folder path honors the ~ shortcut, but the versions path does not. This results in rather unexpected behavior. Should the ~ logic not be hooked on both places?

Situation

Vanilla Syncthing running in a docker container.

Folder config

Folder path: ~/myfolder/data
Versions path: ~/myfolder/versions

Expected behavior:

  • Synced data in /var/syncthing/myfolder/data
  • Remote deleted data in /var/syncthing/myfolder/versions

Observed behavior:

  • Synced data in /var/syncthing/myfolder/data
  • Remote deleted data in /var/syncthing/myfolder/data/~/myfolder/versions

Additional information

  • Syncthing version: v1.26.1 Gold Grasshopper (latest as of writing this ticket)
  • OS context: New Linux kernel + official docker image

Activity

  1. added
    bug
    needs-triage
    on Nov 23, 2023
  2. calmh commented on Nov 24, 2023

    @calmh
    Member

    Probably should.

  3. removed
    needs-triage
    on Nov 24, 2023
  4. added 2 commits that reference this issue on Jan 7, 2024
    cfc8c62
    f7720f1
  5. added 2 commits that reference this issue on Jan 12, 2024
    8b32138
    b2ba185
  6. added this to the v1.27.3 milestone on Jan 22, 2024
  7. added
    frozen-due-to-age
    on Apr 9, 2025
  8. locked and limited conversation to collaborators on Apr 9, 2025
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