Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q]find file permissions of an application

OP TJ202k

31st January 2014, 03:26 AM   |  #1  
OP Junior Member
Thanks Meter: 1
 
5 posts
Join Date:Joined: Jul 2010
More
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.
31st January 2014, 06:08 AM   |  #2  
demkantor's Avatar
Recognized Contributor
Flag mpls
Thanks Meter: 2,972
 
6,115 posts
Join Date:Joined: Nov 2011
More
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: [ View ]
31st January 2014, 03:55 PM   |  #3  
OP Junior Member
Thanks Meter: 1
 
5 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by demkantor

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.
31st January 2014, 04:12 PM   |  #4  
demkantor's Avatar
Recognized Contributor
Flag mpls
Thanks Meter: 2,972
 
6,115 posts
Join Date:Joined: Nov 2011
More
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes