[Samsung Epic 4G Touch] g_ding84:
The link is posted in post #2 as well......

Here is how-to-read linux permissions when they are like this (0644 or 0655) or (RW-R--R-- or RWXR-XR-X)

Permissions:

User - who owns the file.

Group - that owns the file.

Other - Other users

r - Read the file.

w - Write or edit the file.

x - Execute or run the file as a program.

now the permission table is broken up into READ WRITE EXECUTE permissions. That is for each let say "user". These are permissions for Owner / Group / Other. Permissions are like granting access for something run or be used. Now to get into the number type (0644). Now for those permission are represented in a value for each position. Read = 4 Write = 2 and execute = 1.

The first number 6 is for Owner. the second number 4 is for Group and lastly the third number 4 is for Other. Now wait, what about the First 0 that is in there? Its a place holder for the number system. ;) Let's break it down a little.

0644 the first 6 after the 0 starts the first column (refenence root explorer) Then each number is the value. owner has value of 6. read & write is checked. Group has value of 4 (read) and other has the value of 4 (read) as well. So using a little bit of math. read=4 write=2 and execute=1 the Owner has Read and Write permission. Those add up to 6 :) yay! Adding is fun!! And so on...ect. Group has the value of 4, which an only mean it has read permissions. As well as Other.

Now if ya get that then you can read these RW-R--R-- owner group other.

Each three letter groups (RW-)(R--)(R--) stand for Owner then Group then Other. This is the letter representation of the permissions. Meaning Owner has read/write permissions and both Group and Other have only read permissions.

Hopefully that makes it a lot easier for you guys if your not sure how to set up permissions. :)

NEWLY ADDED

How-to set permissions with terminal.........Very big thanks to Phakker for the instructions :) And written by Phakker (I just copied to this post)

Now if you need to change permissions with Terminal Emulator which is faster than manually going thru each script and app you can do a bulk permission change with the following command lines. (this is where Phakker is the man)

su

mount -o remount,rw /dev/block/mmcblk0p9 /system

chmod 0644 /system/lib/*.so /system/app/* /data/app/* /system/framework/*.jar /system/build.prop

chmod 0777 /system/etc/init.d /system/etc/init.d/* /data/local /data/local/*

chmod 0755 /system/xbin /system/xbin/* /system/bin /system/bin/*

Brought to you by Phakker

Now notice that the permissions are in the number format. This is why I broke it down for both ways.

SU as we all know is the command for superuser access.

mount -o remount,rw to mount system as read/write

CHMOD syntax is for change mode(permissions) for a file or directory.

0664/0777/0755 are the permission that will be granted to said file or directory

(Remember what was said earlier ;))

Then followed by what files/directory permissions will be changed.

* means the whole folder to include all files in it will have the same permissions

(root explorer / ES File explorer / ROM ToolBox)

First pic is normal apps either system or data or preload.

Second pic is for tweaks and scripts. But some scripts may be different....But at least now you can set the permissions.