https://bugs.kde.org/show_bug.cgi?id=511408

            Bug ID: 511408
           Summary: "Cannot rename" error when moving or trashing files
                    the first time Dolphin is opened to and from a
                    bind-mounted folder from another disk
    Classification: Applications
           Product: dolphin
      Version First 25.08.2
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 186351
  --> https://bugs.kde.org/attachment.cgi?id=186351&action=edit
Toast error when trashing a folder on a fresh boot of Dolphin on a bind-mounted
directory

SUMMARY
When moving or trashing files/folders, Dolphin throws an error as a red toast
(moving) or an error pop up (trashing).
When "extract and deleting" an archive, Dolphin throws an error as an error pop
up.

"Could not rename file <original file> to <destination file>".

This happens the first time I do this after opening Dolphin. If you try again
right away, it works. After restarting Dolphin, it happens again. 

This probably happens as I have bind-mounts in my home folder for some
directores from one disk to another. Both disks are fine and healthy. Both
partitions are EXT4. When doing these actions elsewhere on a fresh launch of
Dolphin, it works fine.

/etc/fstab:
# <file system>  <mount point>   <type>  <options>           <dump>   <pass>
UUID=<uuid 1>    /boot           vfat    umask=0077          0        2 
UUID=<uuid 2>    /               ext4    noatime,commit=60   0        1 
tmpfs            /tmp            tmpfs   noatime,mode=1777   0        0 
/dev/nvme0n1p1   /depo           ext4    nofail              0        0 
# Bind mounts for user folder
/depo/aran/Documents   /home/aran/Documents   none   bind   0 0
/depo/aran/Pictures    /home/aran/Pictures    none   bind   0 0
/depo/aran/Music       /home/aran/Music       none   bind   0 0
/depo/aran/Videos      /home/aran/Videos      none   bind   0 0
/depo/aran/Downloads   /home/aran/Downloads   none   bind   0 0


STEPS TO REPRODUCE
1. Move, or trash a file or a folder (or 'extract & delete' an archive) on a
bind-mounted directory from another disk


OBSERVED RESULT
Output when extract & deleting or trashing:
- As a pop up: Could not rename file "/home/aran/Downloads/<filename>" to
"/home/aran/.local/share/Trash/files/<fılename>"

- Output on terminal: kf.kio.workers.file: Could not rename file
"/home/aran/Downloads/<filename>" to
"/home/aran/.local/share/Trash/files/<filename>"

Output when moving:
- As a red toast: Could not rename file "/home/aran/Downloads/<filename>"


EXPECTED RESULT
No errors


SOFTWARE/OS VERSIONS
Linux: 6.17.5-2-cachyos (64-bit)
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to