1. Are you ready for the Galaxy S20? Here is everything we know so far!

can i modify the permission of the files in the data/data/yourpack/filename

Discussion in 'Android Development' started by currycrab, Nov 8, 2011.

  1. currycrab

    currycrab Newbie
    Thread Starter

    as above. is it possible to modify the permission of the files in the data/data/yourpack/filename ? i have manage to solve the downloading of the file to the data/data/yourpack/filename. now whenever i run my programme the downloaded copy of the file is being overwritten by the new copy which i suspect is due to its permissiion... anyway the downloaded copy permission is -rw------- while the new copy is -wr-wr-----
     



    1. Download the Forums for Android™ app!


      Download

       
  2. jonbonazza

    jonbonazza Android Expert

    not without rooting your device, no.
     
  3. alostpacket

    alostpacket Over Macho Grande?

    in theory you could change the package name, make a copy of the app, and remove permissions requested in the manifest. I actually saw an app in the market doing something like this.


    Root makes that MUCH, MUCH easier (and more likely to work), since you can mod the original app.

    Another problem: many (good) apps have anti-tampering mechanisms in them which will prevent this from working.

    Also, many apps do not plan for getting their permissions denied. So a lot will Force Close when a permission is unexpectedly denied.
     
Loading...
Similar Threads - modify permission files
  1. fra8995
    Replies:
    0
    Views:
    211
  2. TechExec001
    Replies:
    3
    Views:
    267
  3. Richard Linder
    Replies:
    3
    Views:
    604
  4. Night Knight
    Replies:
    0
    Views:
    897
  5. EasyPZ
    Replies:
    7
    Views:
    867
  6. RazaCodeRepo
    Replies:
    4
    Views:
    592
  7. mdsousa
    Replies:
    0
    Views:
    993
  8. Alexenferman
    Replies:
    11
    Views:
    4,207
  9. Turtlegamin
    Replies:
    0
    Views:
    401
  10. cutedroid
    Replies:
    4
    Views:
    665

Share This Page

Loading...