Bug 376402

Summary: kcm_ssl: user certificates can't be added if directory doesn't exist
Product: [Frameworks and Libraries] frameworks-kdelibs4support Reporter: t.schmittlauch
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mpyne
Priority: NOR    
Version: 5.29.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=604860
Latest Commit: Version Fixed In:
Attachments: excerpt from `strace kcmshell5 kcm_ssl`

Description t.schmittlauch 2017-02-12 14:35:06 UTC
Created attachment 104003 [details]
excerpt from `strace kcmshell5 kcm_ssl`

Adding user certificates using the kcm_ssl GUI fails silently if the directory ~/.local/share/kssl/userCaCertificates/ doesn't exist. No error is reported and the certificates are visible in the list, but after closing and reopening kcm_ssl they're gone.
Manually creating ~/.local/share/kssl/userCaCertificates/ fixed the issue. This directory shall be created automatically if needed.

First reproduced with kdelibs4support-5.26.0 (that's where the strace logs are from), but still exists with 5.29.0
Comment 1 Michael Pyne 2017-02-17 03:54:28 UTC
This was just recently fixed (in Frameworks 5.31).

*** This bug has been marked as a duplicate of bug 342958 ***