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

            Bug ID: 448926
           Summary: Cannot move root owned files to trash
           Product: frameworks-kio
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Trash
          Assignee: fa...@kde.org
          Reporter: guimarcalsi...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

Tested in Dolphin and Konqueror.

STEPS TO REPRODUCE
1. Make a new file in a root-owned folder
2. Right-click
3. Select "Move to Trash"

OBSERVED RESULT

Right-clicking and selecting "Move to Trash" makes both Dolphin and Konqueror
show this error (the file being deleted it Text File.txt): 

Access denied to /home/guilherme/.local/share/Trash/files/Text File.txt.

There's no prompt for the root password.

Deleting directly while holding the shift key works normally.

EXPECTED RESULT

It should either move the file to the current user's/root's trash or instead
the context menu could hide the "Move to Trash" option and only show the delete
option for root files.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-27-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

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

Reply via email to