Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,846 Members 37,493 Now Online
XDA Developers Android and Mobile Development Forum

[Q]find file permissions of an application

Tip us?
 
TJ202k
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jul 2010
Default [Q]find file permissions of an application

I would like to know how to find permissions a given application has. Each app is run as a certain user, so wouldn't finding the file permissions of an app be the same as finding the file permissions of a user? On Linux/Unix there is the find command but I don't know of any alternative command that is available on android. I am running KitKat 4.4.2 kernal 3.40-gadb2201. An answer or direction to the answer is greatly appreciated.
 
demkantor
Old
#2  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,763
Posts: 5,788
Join Date: Nov 2011
Location: mpls
Download root explorer and click on /data/app/nameofapp
For the most part all apps are rw-r--r--

Sent from my Nexus 7 using XDA Premium 4 mobile app
The Following User Says Thank You to demkantor For This Useful Post: [ Click to Expand ]
 
TJ202k
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jul 2010
Quote:
Originally Posted by demkantor View Post
Download root explorer and click on /data/app/nameofapp
For the most part all apps are rw-r--r--

Sent from my Nexus 7 using XDA Premium 4 mobile app
Thank you for the information. I should have been more specific, is there a way to do this through the shell using adb without installing any additional apps.
 
demkantor
Old
#4  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,763
Posts: 5,788
Join Date: Nov 2011
Location: mpls
ls -l /data/app/nameofapp.apk
Or /system/app or whatever
Then use chmod to change permissions if needed

Sent from my Nexus 7 using XDA Premium 4 mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes