• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root setting file permission?

azazel

Well-Known Member
Total Noob Q but I couldn't find an answer anywhere. When setting a file permission I'll usually see it written like this:

I.e. rw-r--r-

Does this mean User = Read+write(not execute),Group read(not write or execute), Others read(not write or execute)

A heads up would be super. thanks
 
Code:
[/FONT]
[FONT=Courier New]       Read  Write Execute[/FONT]
[FONT=Courier New]User   [X]    [X]    [ ][/FONT]
[FONT=Courier New]Group  [X]    [ ]    [ ][/FONT]
[FONT=Courier New]Others [X]    [ ]    [ ][/FONT]
[FONT=Courier New]
If you are using root explorer, here is what you check.

rw-r-r
User has read write
Group has read
Others has read

If you had rw-r-rw, that means the user and others have read/write premissions but the Group does not. However I have no idea what the difference is between the User, group and others are
 
Groups are similar as in Windoze OS. It makes setting file permissions a bit easier. When creating a user, you can put them in a DBA group, which would give them "permissions" to access files and execute scripts that are assigned to that group, read and update database tables, etc.
 
Back
Top Bottom