MediaElch icon indicating copy to clipboard operation
MediaElch copied to clipboard

Renamer somehow follows Symlinks

Open mihawk90 opened this issue 1 year ago • 1 comments

Describe the bug So this is a weird one that I just stumbled on while testing something else. Basically, it seems that when the Renamer encounters a symlink, it gets the path of the original file and therefore when the rename happens it moves the file to the original location.

To Reproduce

  1. Create symlinks to some real files in a different location
  2. Scrape, Save, Rename
  3. Check the Symlink location, hopefully(?) find nothing
  4. Check location of original file

Expected behavior ME should keep the location of the files

Screenshots It's hard to convey in screenshots so... 2023-12-04_01-17-04

MediaElch Version: 2.10.6 (stable)

Operating System: Linux (distribution: Fedora 38)

mihawk90 avatar Dec 04 '23 00:12 mihawk90

Thanks for reporting. Do you mean a single file is symlinked or the whole folder/directory?

Edit:// Ah, the video / gif took a while to load. Thanks for the screencast! That should be enough for me to reproduce. If not, I'll get back to you.

bugwelle avatar Dec 06 '23 18:12 bugwelle