Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
staulkor
Old
#1  
Senior Member - OP
Thanks Meter 6
Posts: 254
Join Date: Jan 2007
Location: Tempe, AZ, USA
Default UID and GIDs

I cant find any defined list. I put busybox on the G1 and made a symlink for bb's chown. It wouldnt recognize "chown root:root somefile", so I had to put in the UID and GID numbers instead.

Both the UID and the GID correspond to the same name. Ex: UID 0 is root. GID 0 is the group root.

Here is a list of the ones I have done so far. I havent found anything higher than 1014 other than the ones in the 10000+.

Code:
0 - root
1000 - system
1001 - radio
1002 - bluetooth
1003 - graphics
1004 - input
1005 - audio
1006 - camera
1007 - log
1008 - compass
1009 - mount
1010 - wifi
1011 - adb
1012 - install
1013 - media
1014 - dhcp
10000 - app_0
10001 - app_1
10002 - app_2
10003 - app_3
10004 - app_4
and so on...
The Following 2 Users Say Thank You to staulkor For This Useful Post: [ Click to Expand ]
 
staulkor
Old
#2  
Senior Member - OP
Thanks Meter 6
Posts: 254
Join Date: Jan 2007
Location: Tempe, AZ, USA
Another thing -- it looks like app_<some #> corresponds to one of the added applications (such as an app you downloaded from the market place).

It does look like each app is sandboxed.
 
staulkor
Old
(Last edited by staulkor; 5th November 2008 at 11:38 AM.)
#3  
Senior Member - OP
Thanks Meter 6
Posts: 254
Join Date: Jan 2007
Location: Tempe, AZ, USA
I just discovered a file that lists exactly what Android permission is linked to what uid/gid: /system/etc/permissions.xml
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...