Bug 441467 - kdesu obsolete? do we need it?
Summary: kdesu obsolete? do we need it?
Status: RESOLVED INTENTIONAL
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-24 07:04 UTC by empyreal
Modified: 2021-08-24 17:28 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description empyreal 2021-08-24 07:04:46 UTC
https://docs.kde.org/stable5/en/kde-cli-tools/kdesu/kdesu.pdf [page 5]
/krusader/CMakeLists.txt
# For security reasons, absolute kdesu path is set at build time and is not
# configurable.
if(NOT KDESU_PATH)
    if(EXISTS "${KDE_INSTALL_FULL_LIBDIR}/kf5/kdesu")
      # Used by Arch distribution
      set(KDESU_PATH "${KDE_INSTALL_FULL_LIBDIR}/kf5/kdesu")
    else()
      set(KDESU_PATH "${KDE_INSTALL_FULL_LIBEXECDIR_KF5}/kdesu")
    endif()
endif()
Comment 1 Davide Gianforte 2021-08-24 17:28:11 UTC
Kdesu is needed to start Krusader in root mode and for operations with elevated privileges (the second ones are better than running the whole program as root).

It is set statically during compile (it can be overridden with -DKDESU_PATH if the distro does install in a different path) and it cannot be changed from configuration.