Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    XDG Basedir Spec is somewhat ambiguous about the purpose of ~/.local/share beyond it being for "user-specific data". But I think there is universal agreement among developers that in absence of any better location (at least until the introduction of ~/.local/state which happened probably two decades after), if nothing else it has become de facto the right place to store mutable databases that are used by one application. (Which either way still matches /usr/share, which hier(7) describes as "subdirectories with specific application data".) Commented Aug 11 at 6:27
  • @grawity in fact, Qt5/6 documentation pretty explicitly states that GenericDataLocation is to be used for shared, permanent program data (e.g., icons), not databases. XDG is not that ambiguous (I don't disagree it is), but Qt and by extension KDE have pretty clear guidelines on that. Commented Aug 11 at 10:49
  • this does not seem to work—which is really weird because I definitely thought this was the answer. Commented Aug 18 at 8:51
  • Perhaps, in copying the files over the permissions were changed? What should the permissions be? Commented Aug 18 at 8:51
  • @newunix exactly the permissions of the original. When you do a backup / transfer of data to a new machine, you'd very much always make sure that's the case. Commented Aug 18 at 10:21