Bug 453362 - Incorrect work of the trash with symlinks on different physical disks
Summary: Incorrect work of the trash with symlinks on different physical disks
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (show other bugs)
Version: 5.94.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 22:24 UTC by MrNekit
Modified: 2022-06-07 23:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MrNekit 2022-05-03 22:24:52 UTC
STEPS TO REPRODUCE
1. Make symlink from 1-st harddrive to 2-nd harddrive. 

For example: 
"/" is mounted on SSD. So "/home/user/" is also on ssd. 
HDD is mounted in "/mnt/HDD/".  

Folder /mnt/HDD/video have symlink in home directory: "/home/user/video". 
This folder is on HDD.

2. Remove some files from /home/user/video

OBSERVED RESULT
Files from HDD will go to the SSD trash

EXPECTED RESULT
files from the HDD must go to the hdd. even if there is a symlink

Operating System: Manjaro Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.32-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × AMD Ryzen 3 PRO 2200G with Radeon Vega Graphics
Memory: 13.6 ГиБ of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Comment 1 MrNekit 2022-06-07 23:35:54 UTC
Little addition. 

SSD trash is ~/.local/share/Trash/files/
HDD trash is /mnt/HDD/.Trash-1000/files