Here are some common permission examples in Linux, represented in both numeric and symbolic formats:
1. Read, Write, and Execute for Owner; Read and Execute for Group and Others (755)
- Numeric:
755 - Symbolic:
rwxr-xr-x - Description: The owner can read, write, and execute; the group and others can read and execute.
2. Read and Write for Owner; Read for Group and Others (644)
- Numeric:
644 - Symbolic:
rw-r--r-- - Description: The owner can read and write; the group and others can only read.
3. Read and Write for Owner; No Permissions for Group and Others (600)
- Numeric:
600 - Symbolic:
rw------- - Description: The owner can read and write; the group and others have no permissions.
4. Read, Write, and Execute for Owner; No Permissions for Group and Others (700)
- Numeric:
700 - Symbolic:
rwx------ - Description: The owner can read, write, and execute; the group and others have no permissions.
5. Read and Execute for Owner; No Permissions for Group and Others (500)
- Numeric:
500 - Symbolic:
r-x------ - Description: The owner can read and execute; the group and others have no permissions.
6. Read and Execute for All (555)
- Numeric:
555 - Symbolic:
r-xr-xr-x - Description: Everyone can read and execute; no one can write.
7. No Permissions for All (000)
- Numeric:
000 - Symbolic:
--------- - Description: No permissions for anyone.
These examples illustrate how permissions can be set to control access to files and directories in a Linux environment. If you have any further questions or need more examples, feel free to ask!
