Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.02 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.02 KB
by just-do-halee

Today I learned

2022-11-26


  • Linux

    • ::ETC

      • Permission (drwxrwxrwx)

        drwxr-xr-x  35 just-do-halee  staff   1.1K Nov 26 13:46 2022
        -rw-r--r--   1 just-do-halee  staff   2.4K Oct  8 15:05 README.md
        -rw-r--r--   1 just-do-halee  staff   575B Sep  7 23:52 TEMPLATE.md
        -rwxrwxrwx   1 just-do-halee  staff   262B Oct  6 21:12 new

        d(directory) Directory or File

        r(read) Readable

        w(write) Writable

        x(execute) Executable

        d / rwx / rwx / rwx ...

        _ / user owner / group owner / others Permissions

        r = 4 , w = 2 , x = 1 , no permission = 0

        • Example

          -rwxr-xrw-  1  owner  staff  5B  Sep  7 21:12 Example
          
          = rwx(4+2+1)r-x(4+1)rw-(4+2) = 756
          
          = chmod 756 Example