-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache.sqlite located in room directory #623
Comments
We don't have the feature at current release to change env setting for cache.sqlite file. But I don't think you need to if this is for lab installation: GeoDa doesn't need to be installed under /user, you can put/copy GeoDa directory to a safe folder that normal user can access.
Let me know if this helps.
Thanks!
… On Feb 17, 2017, at 11:05 AM, xianwenchen ***@***.***> wrote:
Hi!
I am trying to re-pack the .deb installation file for Arch Linux. I noticed that cache.sqlite is in the root file.
This is a problem. Say when the geoda is located in /usr/geoda folder. A normal user should not have access to /usr/geoda/cache.sqlite. Rather, a normal user should have their own cache.sqlite in their home directory.
Is there some way to fix it, by e.g. an environmental variable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thank you. This workaround will be okay, of course. It is an important issue for a centralized server environment, because we would like to have one location to store the program files, and every user uses these program files. However, it may be a problem, when multiple users have access to the folder and write to cache.sqlite at the same time, right? Another issue is package management. I am creating a package in the AUR repository for Arch Linux so that users of Arch Linux can install GeoDa and update GeoDa as any other package in the AUR repository. Maintaining a copy in home directory manually is not ideal. |
Yes, you are correct. GeoDa desktop (<= 1.8.14) does not support installation on a centralized server environment. I will leave this issue as an open ticket and we plan to fix it in next release. For your information: it will be ok if you plan to deploy current release 1.8.14, since it is not an issue for multiple user writing to cache.sqlite, which supports concurrency. The cache.sqlite used in version 1.8.14 is for only auto-completion feature (in connect datasource dialog). Will keep you updated. Thanks! |
This issue will be addressed in GeoDa 1.14. The cache.sqlite file will be located in room directory on Ubuntu. |
Hi!
I am trying to re-pack the .deb installation file for Arch Linux. I noticed that cache.sqlite is in the root file.
This is a problem. Say when the geoda is located in /usr/geoda folder. A normal user should not have access to /usr/geoda/cache.sqlite. Rather, a normal user should have their own cache.sqlite in their home directory.
Is there some way to fix it, by e.g. an environmental variable?
The text was updated successfully, but these errors were encountered: