Bug 337486

Summary: Should not permit moving of read-only folder to a different directory
Product: [Applications] dolphin Reporter: Aaron Staley <astaley>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: arjunak234, simonandric5
Priority: NOR    
Version: 4.11.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.3
Sentry Crash Report:

Description Aaron Staley 2014-07-16 08:03:24 UTC
Posix does not permit the movement of a read-only folder (no write permission), regardless of the permissions on its parent.

Currently, when moving a read-only folder to another directory, Dolphin shows a dialog giving options to move or copy.  Clicking move results in a "access denied".

Expected behavior is similar to how attempting to move files within read-only directories behaves; dialog should suggest only "copy" or "link"
Comment 1 Arjun AK 2014-07-19 16:47:21 UTC
https://git.reviewboard.kde.org/r/119372/
Comment 2 Christoph Feck 2014-10-25 23:21:07 UTC
Arjun, any update? From what I see, your proposed change was approved.
Comment 3 Arjun AK 2014-10-27 07:31:46 UTC
Git commit 9e477d9c76ee503ee0e5771be9a7d1ca48011d01 by Arjun AK.
Committed on 27/10/2014 at 07:16.
Pushed by arjunak into branch 'KDE/4.14'.

Do not show "move" option while dragging and dropping a read only directory

posix does not permit the movement of a read-only folder, regardless of the permissions
on its parent. This patch removes the move option from the drag and drop context menu if
the user doesn't have write permission on the directory.
REVIEW: 119372
FIXED-IN: 4.14.3

M  +12   -2    lib/konq/konq_operations.cpp

http://commits.kde.org/kde-baseapps/9e477d9c76ee503ee0e5771be9a7d1ca48011d01