Skip to content

Set torrent location + move data = deletion of multiple files #864

@T-z3P

Description

@T-z3P

Type: Bug Report

  • Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

  • Version used:
    • Version (stable release) 4.9.3 (docker container)
  • Operating system and version: Ubuntu 24.04.1 LTS + Docker version 26.1.3, build 26.1.3-0ubuntu1~24.04.1
  • Torrent client and version: jesec/rtorrent + jesec/flood

Summary

As the title says, When I try to set a new location for a torrent and I select "move data" also, it deletes multiple files.

I have two folders:

  • /mnt/hdd/movies
  • /mnt/hdd/episodes

With the following content:

  • movies:
    -- movie1.mkv
    -- movie2.mkv
  • episodes:
    -- episode1.mkv
    -- episode2.mkv
    -- movie3.mkv

Expected Behavior

Move movie3.mkv from /mnt/hdd/episodes to /mnt/hdd/movies successfully.

Current Behavior

Deletes files for some reason, ending up with the following structure (I do not have a possible explanation):

  • /mnt/hdd/movies with the following content:
    -- episode1.mkv
    -- episode2.mkv
    -- movie3.mkv
  • /mnt/hdd/episodes no longer exists

Steps to Reproduce

  1. Go into Flood interface and search for movie3.mkv torrent
  2. Right click > Set Torrent Location > write "/mnt/hdd/movies/"
  3. Select "Move data"
  4. Hit "Set location"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions