[dolphin] [Bug 467359] New: Request: re-enable running Dolphin as sudo

David bugzilla_noreply at kde.org
Tue Mar 14 19:33:26 GMT 2023


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

            Bug ID: 467359
           Summary: Request: re-enable running Dolphin as sudo
    Classification: Applications
           Product: dolphin
           Version: 22.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: david.cortes.rivera at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

It's been many years since the functionality for running Dolphin as sudo was
artifically disabled, with the expectation that "soon" Dolphin will be able to
poll for sudo privileges when it needs to, so that users wouldn't need to run
it as sudo.

The justification when I try to run it as sudo says:
"Running Dolphin with sudo can cause bugs and expose you to security
vulnerabilities. Instead use Dolphin normally and you will be prompted for
elevated privileges when performing file operations that require them."

But this is incorrect, since the functionality for requesting privileges still
hasn't been implemented after all these years.

Since this anti-feature was imposed, it has not been possible anymore to, among
other things:
- Delve into folders for which one has no access. Practical example: try to
browse virtual machines from qemu (/var/lib/libvirt).
- Delete files that are not owned by the user. Practical example: create some
file in a dockerized application that someone else created (they typically run
as root).
- Change ownership and privileges of files, folders, or change them recursively
for folders in which something underneath is not user-owned. Practical example:
try moving some paths under your /home path to a separate BTRFS subvolume.
- Create symlinks between files and folders under paths like /etc. Practical
example: try temporarily swapping a system library with another in a non-debian
system (e.g. openblas with MKL).
- Drag things from a user folder to a non-user folder or vice-versa. Practical
example: again playing with docker containers.

Now, I need to keep several file managers in my system so that I can do the
kind of things that a file manager is supposed to do, which is very
inconvenient. 

Dolphin is a file manager. It should be able to do these things. Nemo lets me
do them. So does thunar. If the replacement functionality is not there, then
please please wait until the fix arrives before removing the ability of Dolphin
to perform its job.

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


More information about the kfm-devel mailing list