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

            Bug ID: 529266
           Summary: Cant delete vault, my home is a symlink to /var/home,
                    in fedora atomic (bazzite)
    Classification: Plasma
           Product: plasmashell
      Version First 6.8.3
       Reported In:
          Platform: Bazzite
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Vaults widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

-/home is a symlink to /var/home
-every vault I create in the wizard ends up with 2 groups in
~/.config/plasmavaultrc
   - a real one, [/var/home/yasar/.local/share/plasma-vault/<name>.enc
  - a ghost one, [/home/yasar.....]
-deleting the vault from the widget fails and says "Cant delete the vault;
there are other vaults with overlapping paths."

Likely cause: (claude's opinion)

the wizard starts from QDir::homePath(), which gives the unresolved /home/...
path (directorypairchooserwidget.cpp). Then Vault::dismantle() in
kded/engine/vault.cpp canonicalizes every known device, so the ghost and the
real entry resolve to the same path. That gives matches != 1, which triggers
the error.
Workaround: remove the /home/... groups and their [EncryptedDevices] lines,
then reload the module (busctl --user call org.kde.kded6 /kded org.kde.kded6
unloadModule s plasmavault, then loadModule). After that, deleting works.
Related: bug 405527 (symlinks in device paths, fixed in 2019 by commit dc21669,
"Never use non-resolved paths…"). This looks like a path that fix missed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to