I’m running into a problem when I install my app on linux with a .deb package.
I have tried to install app to folders like /urs/bin and /opt/myapp/ which works, but my application can only read from the database, not write to it, unless I manually chmod the db.rsd
Where and how do prepare the install so the database is writeable for the user without chmod’ing
I have looked online, but I can’t find a good answer to this question.
My Q2 is since I use a .deb package creator “Debreate” (if anyone should know it) , when I specify the installation path to the specialfolder for the database what is the syntax?
It should be /home/Username/appname/db.rsd but I have trouble with the UserName part of the path.
It is not in the original question per se, but it will be a good idea to place a paragraph description about where to place the database (for SQLite as an example) SQLiteDatabase.CreateDataBaseFile or SQLiteDatabase.
So, we will not have to ask the question here. This makes sense.