Skip to content

Folder overlap not detected when using tilde #9400

Closed

Description

@adiba

Steps to reproduce

  1. After setup, the default folder should be at /home/<username>/Sync. Click 'Add Folder' and enter ~/Sync or ~/Sync/a for the folder path.

Expected behavior

Following text should be shown:

Warning, this path is a subdirectory of an existing folder "Default Folder" (default).

Actual behavior

No warning is shown.

System information

Syncthing v1.27.3-rc.2 on Ubuntu 22

Further comments

I believe it would also be helpful to 1) require checking a box to confirm "I understand the implications" and 2) show the warning in the folder list as well.
Related issue would be detecting overlaps that are caused by symlinks.
As far as I can tell, overlap detection is currently happening on the frontend.

Activity

  1. added
    bug
    needs-triage
    on Feb 5, 2024
  2. changed the title [-]Tilde not resolved[/-] [+]Overlap not detected when using tilde[/+] on Feb 5, 2024
  3. changed the title [-]Overlap not detected when using tilde[/-] [+]Folder overlap not detected when using tilde[/+] on Feb 5, 2024
  4. added
    ui
    and removed
    needs-triage
    on Jul 8, 2024
  5. added 2 commits that reference this issue on Oct 26, 2024
    85cc391
    9728c12
  6. added a commit that references this issue on Nov 12, 2024
    1a529e9
  7. added a commit that references this issue on Nov 13, 2024
    7ebc503
  8. added this to the v1.28.1 milestone on Nov 14, 2024
  9. added
    frozen-due-to-age
    on Jul 1, 2026
  10. locked and limited conversation to collaborators on Jul 1, 2026
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-ageui

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions