1. Check out our companion app, Forums for Android! Download from Google Play

Root setting file permission?

Discussion in 'Android Devices' started by azazel, Mar 26, 2011.

  1. azazel

    azazel Well-Known Member
    Thread Starter
    38

    Mar 4, 2011
    105
    12
    38
    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
     

    Advertisement

  2. james27007

    james27007 Look into my Eye
    183

    Mar 6, 2010
    1,150
    445
    183
    Male
    Travel and teaching for tech and automotive
    Riverside, CA
    Code (Text):
    1. [/FONT]
    2. [FONT=Courier New]       Read  Write Execute[/FONT]
    3. [FONT=Courier New]User   [X]    [X]    [ ][/FONT]
    4. [FONT=Courier New]Group  [X]    [ ]    [ ][/FONT]
    5. [FONT=Courier New]Others [X]    [ ]    [ ][/FONT]
    6. [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
     
  3. evilbastard

    evilbastard Well-Known Member
    38

    Feb 13, 2011
    137
    10
    38
    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.
     
    james27007 likes this.

Share This Page

Loading...