Skip to content

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

@SixFive7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions