[dolphin] [Bug 473167] Dolphin allows renaming files that you do not have permissions to on an sftp connection

Méven Car bugzilla_noreply at kde.org
Tue Aug 22 15:36:38 BST 2023


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

Méven Car <meven29 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |meven29 at gmail.com

--- Comment #1 from Méven Car <meven29 at gmail.com> ---
Technical explanation:

We KFileItemListProperties::supportsMoving to determine if files can be
renamed, but this does support the !local path of sftp:// protocol.
Adding this support there would mean adding a synchronous KIO::stat for a
remote target, which can block the UI.
On the other hand Dolphin has a cache of the file hierarchy in its model, that
could be used to determine this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list