Bug 337486 - Should not permit moving of read-only folder to a different directory
Summary: Should not permit moving of read-only folder to a different directory
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 08:03 UTC by Aaron Staley
Modified: 2014-10-27 07:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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