Useful for anyone who just rooted his s2 and doesn't know how root explorers work for setting file perms. Good work!
Much thanks for this one.
Sent from my GT-I9100 using XDA Premium HD app
thank u guys
Useful for anyone who just rooted his s2 and doesn't know how root explorers work for setting file perms. Good work!
Much thanks for this one.
Sent from my GT-I9100 using XDA Premium HD app
Thank you for this useful post! Found it via the news article on the XDA Portal: http://www.xda-developers.com/android/brief-primer-on-file-permissions-for-new-users/
:beer:
Sun90, you are missing a big piece of information
Table Guide for Reference
----------------------------------
there is no need to know each number with each permission set.
Read = 4
Write = 2
execute = 1
if you want to only read, it is 4.
If you want to read and execute, 4+1 = 5
read+write=6
read+write+execute=7.
noting = 0
This comes from our old binary system
where
read =100
write= 010
exec= 001
You do a binary addition and convert that back to the decimal system. 111 in binary (for read,write,execute) = 7 in decimal.
Ah interesting.Sun90, you are missing a big piece of information
Table Guide for Reference
----------------------------------
there is no need to know each number with each permission set.
Read = 4
Write = 2
execute = 1
if you want to only read, it is 4.
If you want to read and execute, 4+1 = 5
read+write=6
read+write+execute=7.
noting = 0
This comes from our old binary system
where
read =100
write= 010
exec= 001
You do a binary addition and convert that back to the decimal system. 111 in binary (for read,write,execute) = 7 in decimal.
X X X
X O X
X O X
X X O
X O O
X O O
X X O
X O X
O X X
Ah interesting.
I wondered how the values were determined.
I wanted to post something along those lines... how I remember them.
I find it easier to visualize so in my mind, I would just add the rows like so...
This way, I don't have to remember what's 755 because its...Adding the top row gives a 7 and the next 2 rows add up to 5.Code:X X X X O X X O X
There is only a single way to get a 5
Of course, there is only a single way to get any value from 1 to 7 so you can't go wrong.
So the very common 644 would beSo if somebody says to apply something weird like chmod 653... you don't have to remember what it is... open up a root explorer and check offCode:X X O X O O X O O
Code:X X O X O X O X X
Ah interesting.Sun90, you are missing a big piece of information
Table Guide for Reference
----------------------------------
there is no need to know each number with each permission set.
Read = 4
Write = 2
execute = 1
if you want to only read, it is 4.
If you want to read and execute, 4+1 = 5
read+write=6
read+write+execute=7.
noting = 0
This comes from our old binary system
where
read =100
write= 010
exec= 001
You do a binary addition and convert that back to the decimal system. 111 in binary (for read,write,execute) = 7 in decimal.
X X X
X O X
X O X
X X O
X O O
X O O
X X O
X O X
O X X
Many thanks I too am totally lost by permission setting.
Sent from my GT-I9100 using xda premium