Remove All Ads from XDA

Before changing any file permissions please follow the suggestions.

88 posts
Thanks Meter: 2
By karan_singh_9008, Member on 16th September 2011, 12:14 PM
Post Reply Email Thread
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..

Sent from my LG-P990 using XDA App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes