1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

setting file permission?


Last Updated:

  1. azazel

    azazel Well-Known Member This Topic's Starter

    Joined:
    Mar 4, 2011
    Messages:
    105
    Likes Received:
    12
    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 VIP Member

    Joined:
    Mar 6, 2010
    Messages:
    1,149
    Likes Received:
    445
    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

    Joined:
    Feb 13, 2011
    Messages:
    137
    Likes Received:
    10
    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...