Bug 355662 - Wrong error message: Access denied to .../Trash/...
Summary: Wrong error message: Access denied to .../Trash/...
Status: RESOLVED DUPLICATE of bug 179678
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR minor
Target Milestone: ---
Assignee: David Faure
Depends on:
Reported: 2015-11-20 19:43 UTC by sedrubal
Modified: 2018-08-27 19:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description sedrubal 2015-11-20 19:43:43 UTC
When trying to delete a folder which you have no rights to delete it, you will see the error message "Access denied to /home/user/.local/share/Trash/files/$folder". But the given directory is wrong: it should be the directory you want to delete

Reproducible: Always

Steps to Reproduce:
1. mkdir foo
2. sudo chown root:root foo
3. Delete this folder as not root

Actual Results:  
Error message: "Access denied to /home/user/.local/share/Trash/files/foo."

Expected Results:  
Error message: "Access denied: /home/user/foo." or "Access denied for deleting /home/user/foo."
Comment 1 Nate Graham 2018-08-22 20:04:08 UTC
Is this still an issue with KDE Frameworks 5.49?
Comment 2 sedrubal 2018-08-27 11:31:38 UTC
I'm running fedora 28 which packages plasma 5.13.4 right now (afaik). Here this bug is still present. You should be able to reproduce the issue yourself by executing the 3 steps I posted above.
Comment 3 Nate Graham 2018-08-27 19:23:06 UTC
Ah, it's a lack of PolicyKit integration. This should be fixed automatically once Bug 179678 is in.

*** This bug has been marked as a duplicate of bug 179678 ***