setting file permission?


  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

    Advertisement
  2. james27007

    james27007 Look into my Eye VIP Member

    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
  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