Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure qgis.db is writable when copied from RO source
In some package managers (such as NIX, used in NixOS), all the data is installed into a read-only file system. When QGis is first launched on those systems, it copies the template `qgis.db` from the share directory into the user private .local directory, but keeps its permissions unchanged: readonly. Any attempt from QGIS to update this file fails. This commit makes sure that the `qgis.db` file is user writable when it is copied from the installation directory.  https://nixos.org/nix/  https://nixos.org/
- Loading branch information
Showing with 13 additions and 0 deletions.
- +13 −0 src/core/qgsapplication.cpp