From c99f9196b2680c294f4fef7eac002353f79a0d9b Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 20 Mar 2026 10:16:17 +0300 Subject: [PATCH] kdePackages.plasma-vault: don't hardcode fusermount path We're not in a privileged context here, so we need to rely on fusermount's suid-ness to actually do the unmount. Fixes #501493. --- pkgs/kde/plasma/plasma-vault/hardcode-paths.patch | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/kde/plasma/plasma-vault/hardcode-paths.patch b/pkgs/kde/plasma/plasma-vault/hardcode-paths.patch index d8a5f4a025de..10382774eb87 100644 --- a/pkgs/kde/plasma/plasma-vault/hardcode-paths.patch +++ b/pkgs/kde/plasma/plasma-vault/hardcode-paths.patch @@ -43,19 +43,6 @@ index b992f6f..eb828dd 100644 } QString GocryptfsBackend::getConfigFilePath(const Device &device) const -diff --git a/kded/engine/fusebackend_p.cpp b/kded/engine/fusebackend_p.cpp -index 8763304..e6860d2 100644 ---- a/kded/engine/fusebackend_p.cpp -+++ b/kded/engine/fusebackend_p.cpp -@@ -90,7 +90,7 @@ QProcess *FuseBackend::process(const QString &executable, const QStringList &arg - - QProcess *FuseBackend::fusermount(const QStringList &arguments) const - { -- return process(fusermountExecutable, arguments, {}); -+ return process("@fusermount@", arguments, {}); - } - - FutureResult<> FuseBackend::initialize(const QString &name, const Device &device, const MountPoint &mountPoint, const Vault::Payload &payload) diff --git a/kded/engine/vault.cpp b/kded/engine/vault.cpp index c101079..67c8a83 100644 --- a/kded/engine/vault.cpp