Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7866801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:30:47+00:00 2026-06-03T00:30:47+00:00

I have an android application on android market, this application created with sqlite database

  • 0

I have an android application on android market, this application created with sqlite database with world readable and writable mode. SQLite database doesn’t store any user specific information. However in rooted handsets if i open /data/data/packagename/databases/
i can see those files as world readable/writable, pretty much for all the applications.

Now i have changed application SQLite database to private mode, after that database file permission changed to non-world readable/writable. However “database-journal” file permission didn’t change.

Is this an android issue, any time application upgrades database journal permissions doesn’t change even main database created with private mode.

Do i need to worry about journal file permissions, this journal file most of the time it’s empty file.Any suggestions to fix the above issue..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:30:48+00:00Added an answer on June 3, 2026 at 12:30 am

    If you create a database MODE_WORLD_WRITEABLE then every app on your device can delete it, open it and insert / read data, copy it, etc even if that app does not have the WRITE_EXTERNAL_STORAGE permission.

    The journal is created by sqlite, there is no reason for sqlite to change the permissions of the file once it exists. Deleting the database file probably does not delete the journal as well which might be the reason for your problem.

    If you delete the journal file before opening the db or chmod / File.setWritable() it to your needs the issue should be fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android application that uses the Android database to create tables and
I have this application from the market in an apk format, but I want
I have created application in android Sdk version 11(ie Android 3), and in manifist
I have an Android application in the market which connects and send POST and
I have downloaded an application from the android market. I just have to enter
I have an application published in the android market, and now I want to
I have created an Android application that includes some unit conversion tools built into
I have an Android application on Android Market, but some users are complaining about
I hava an android application which consists sqlite database in the assets folder. In
I have build an application in android. This app needs to display a list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.