<div dir="ltr"><div>Hey Thomas,</div><div><br></div><div>I pushed an update for version 2.40 and included KeePass.config.xml in this update. It's currently in pending queue and you can try it out once it's uploaded.</div><div><br></div><div>Sorry for the late reply. <br></div><div><br></div><div>Thanks,</div><div><br></div><div>Shrivats<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 15 Jun 2018 at 08:45, Thomas Szteliga <<a href="mailto:ts@websafe.pl">ts@websafe.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">W dniu 15/06/2018 o 07:52, Shrivats pisze:<br>
> That may be true only if you download the binary release. But in the <br>
> SlackBuild, we use the Source release and I don't include <br>
> KeePass.config.xml in the package at all.<br>
> There are a couple things you can do as an user, if you don't prefer <br>
> keeping the config xml globally:<br>
> * Pass the path to your local configuration file through the command line <br>
> argument: '-cfg-local:' and override defaults.<br>
> * Keep your local configuration file in `~/.config/KeePass`<br>
> I'll think about including this file for global configuration (In the <br>
> source, it's `true` by default)<br>
<br>
<br>
Hello Shrivats,<br>
<br>
I did not use another binary, I used the source tarball<br>
provided in the .nfo file.<br>
<br>
I did some digging and now everything is clear, but I guess you'll<br>
need to somehow embed the XML in the Slackbuild.<br>
<br>
I tested this now, normally there is no<br>
`/usr/lib/KeePass/Release/KeePass.config.xml`<br>
after installation and normal usage, but if<br>
a user with write access to `/usr/lib/KeePass/Release/`<br>
runs KeePass once (for instance root) then this file is being<br>
created there (`/usr/lib/KeePass/Release/KeePass.config.xml`)<br>
and it has the problematic PreferUserConfiguration set to false<br>
and from this moment on KeePass will ignore all congiguration<br>
changes made by other users.<br>
<br>
Just give it a try and run KeePass as root once and then<br>
check if `/usr/lib/KeePass/Release/KeePass.config.xml`<br>
and if you're able save any configuration changes<br>
as a normal user.<br>
<br>
<br>
-- <br>
Best regards<br>
<br>
Thomas Szteliga<br>
<br>
</blockquote></div>