zoukankan      html  css  js  c++  java
  • file permission

    It is used in Linux long directory listings. It consists of 10 characters. The first character shows the file type. Next 9 characters are permissions, consisting of three groups: owner, group, others. Each group consists of three symbols: rwx (in this order), if some permission is denied, then a dash "-" is used instead. Example:

    -rwxr--r--
    0123456789

        * Symbol in the position 0 ("-")is the type of the file. It is either "d" if the item is a directory, or "l" if it is a link, or "-" if the item is a regular file.
        * Symbols in positions 1 to 3 ("rwx") are permissions for the owner of the file.
        * Symbols in positions 4 to 6 ("r--") are permissions for the group.
        * Symbols in positions 7 to 9 ("r--") are permissions for others.

    r     Read access is allowed
    w     Write access is allowed
    x     Execute access is allowed
    -     Replaces "r", "w" or "x" if according access type is denied
  • 相关阅读:
    类目(分类)
    协议(Protocol)---实例
    OC 复合 组装电脑
    iOS--九宫格奥秘(UIView)(arc4random)
    字符串
    oc 字符串
    七星彩问题
    OC--第一个程序
    关于行内元素垂直居中的一个小小trick
    关于orgChart
  • 原文地址:https://www.cnblogs.com/greencolor/p/2006093.html
Copyright © 2011-2022 走看看