What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Setting permissions

GTvert90

Member
If I have to set permissions on a file threw root explorer I just click and hold then scroll down to permissions.

What I don't get is when someone says set it to 644 744 ect. How does that translate to the permissions in root explorer.

Thanks,
Phil

Sent from my Droid X w/ rubiX via Tapatalk
 
even simpler

4 = r(ead)
2 = w(rite)
1 = (e)x(ecutable)

and you have

3 Sets of permissions
rwxrwxrwx
XXX------ Owner
---XXX--- Group
------XXX Other

644 is
rw-r--r--

|6|44 = |4+2|44 = |r+w|44
6|4|4 = 6|4|4 = 6|r|4
64|4| = 64|4| = 64|r|

so if something is 644

it is able to be read+written to by owner
it is able to be read by group
it is able to be read by others

other examples:

777 = rwxrw
xrwx (full r(ead)/w(rite)/e(x)ecute on file by any user!)(aka God mode :))

|7|77 = |4+2+1|77
7|7|7 = 7|
4+2+1|7
77|7| = 77|
4+2+1|

666 = rw-rw-rw (r(ead)/w(rite) access by any user!)

|6|66 = |4+2|66
6|6|6 = 6|
4+2|6
66|6| = 66|
4+2|
 
Back
Top