Post Reply

Before changing any file permissions please follow the suggestions.

16th September 2011, 11:14 AM   |  #1  
OP Member
Flag Bangalore
Thanks Meter: 2
 
88 posts
Join Date:Joined: Aug 2011
More
If there comes a time when something goes wrong on ur rooted device and u need to reset some permissions of certain files please do the following if the shell on ur kernel supports it..(if it as bash)
in the terminal emulator type
ls -l filename
Where filename is the name of the desired file..
note down the permissions (start with either -/d or something...followed by three triplets of r(read),w(write),x(execute)
The first triplet denotes permissions for the owner of the file (root user)
the second denotes permissions for the group owner n the last one denotes the permissions for every user other than the owner and group owners...
The numbers corresponding to the permissions are
R W X octal number
0 0 0 0
0 0 1 1
0 1 0 2
0 1 1 3
1 0 0 4
1 0 1 5
1 1 0 6
1 1 1 7

eg chmod 0777 filename
Will change the permissions of filename to read,write,execute for all types of users..



Once done,u can change the permissions back to what they were..
Cheers

Sent from my LG-P990 using XDA App
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Optimus 2x General by ThreadRank