setting file permission?

Last Updated:

  1. azazel

    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

  2. james27007

    james27007 Look into my Eye VIP Member

    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.

    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

    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