Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createUserProfile: ensure qgis.db file is user writable
In some package managers (such as NIX[1], used in NixOS[2]), packaged data is installed read-only. When creating a new user profile, QGis copies the `qgis.db` file from the packages and the user ends having a read-only `qgis.db` database. This commit ensures that once copied when creating a ne profile, the `qgis.db` file is made user writable. [1] https://nixos.org/nix/ [2] https://nixos.org/ (cherry picked from commit 9d41db1)
- Loading branch information