https://bugs.kde.org/show_bug.cgi?id=441567
Bug ID: 441567 Summary: Dolphin allows file rename and then silently fails even though the user does not have write permission Product: dolphin Version: 21.08.0 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: 2wxsy5823...@opayq.com CC: kfm-de...@kde.org Target Milestone: --- SUMMARY Even though the user does not have write permission to a file, the rename option is still available and a new name can be entered. Then Dolphin silently fails to rename the file due to insufficient permission. STEPS TO REPRODUCE 1. `sudo touch test.txt` to create a file owned by root with mode 644. 2. As a non-root user, rename the file via right-click menu or F2. OBSERVED RESULT File rename dialog pops up and the user can submit a new name. The file will not be renamed because the user does not have write permission. However, Dolphin will not give any error message. EXPECTED RESULT Dolphin should disable the rename option if the user does not have enough permission, or at least output an error message that the rename operation failed. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 -- You are receiving this mail because: You are watching all bug changes.