Forumsee logo
Forumsee » Mobility » Cellphones » Read message
RSS: Subscribe to RSS

Understanding File Permissions

AT&T Samsung Galaxy S II General - xda-developers - forum.xda-developers.com
I thought this might help and add to the knowledge base of our subforums. This is a basic, roughly pieced together reference. So, some of you may have noticed mention of setting file permissions to 644, for example (or 755). This format of file permissions is called CHMOD (short for "change mode"). It determines how much access a file should have. For the sake of simplicity, I'll leave it at that.

I'll go over what each digit (1-7) represents, which is some variation/combination of having read, write, or execute permissions. In Root Explorer, for example, there are three lines - Owner, Group, and Others. In file permissions, the three digits represent the permissions allowed for the aforementioned Owner, Group, and Others. The first digit represents Owner, the second digit represents Group, and the last represents Others.

644 =

Owner - 6

Group - 4

Others - 4

*644 is also referred to as rw-r-r (i.e., read and write permissions for Owner, read only permissions for Group, and read only permissions for Others).

Here's what each number is the equivalent to:

Code:

0 - No Permissions

1 - Execute Only

2 - Write Only

3 - Write and Execute Permissions

4 - Read Only

5 - Read and Execute Permissions

6 - Read and Write Permissions

7 - Read, Write, and Execute Permissions

Most system files have permissions of rw-r-r/644, while scripts have 755.


Read responses in forum.xda-developers.com

Tags


Last videos:

YouTube picture in picture mode for any phone!
YouTube picture in picture mode for any phone!
After unlockin network iphone 7 just blinked
After unlockin network iphone 7 just blinked
samsung galaxy s3 dead solution
samsung galaxy s3 dead solution
How to flash Gretel G9 stock rom
How to flash Gretel G9 stock rom
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
Coolpad Dazen 1 Error : device can't open fastboot channel
Coolpad Dazen 1 Error : device can't open fastboot channel
VIDEO Bypass FRP Samsung S8, S8 Plus by ODIN
VIDEO Bypass FRP Samsung S8, S8 Plus by ODIN
How To Flash Qmobile Z8
How To Flash Qmobile Z8
Cars · 
Mobility · 
Hardware · 
Motorbikes · 
Travel · 
Boating · 
Aviation · 
production-frontend
About Forumsee · Contact · Privacy policy · Request content removal
We use cookies for navigation analysis and personalized advertisement. By using our site, you agree to our use of cookies.
Accept  ·  Learn more