Skip to content

Instantly share code, notes, and snippets.

@anhthii
Created September 28, 2020 15:58
Show Gist options
  • Save anhthii/6e2df2c9e1cd281dcb06ca0a1e5a12ee to your computer and use it in GitHub Desktop.
Save anhthii/6e2df2c9e1cd281dcb06ca0a1e5a12ee to your computer and use it in GitHub Desktop.
+-----+---+--------------------------+
| rwx | 7 | Read, write and execute |
| rw- | 6 | Read, write |
| r-x | 5 | Read, and execute |
| r-- | 4 | Read, |
| -wx | 3 | Write and execute |
| -w- | 2 | Write |
| --x | 1 | Execute |
| --- | 0 | no permissions |
+------------------------------------+
+------------+------+-------+
| Permission | Octal| Field |
+------------+------+-------+
| rwx------ | 0700 | User |
| ---rwx--- | 0070 | Group |
| ------rwx | 0007 | Other |
+------------+------+-------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment