CompTIA Security+ Exam Notes

CompTIA Security+ Exam Notes
Let Us Help You Pass
Showing posts with label rwx. Show all posts
Showing posts with label rwx. Show all posts

Saturday, August 11, 2018

LINUX PERMISSIONS

Linux permission attributes:


r (read)                                                        View file content

w (write)                                                     Modify file content

x (execute)                                                  Run a file (if it's an executable program & is combined
                                                                    with the read attribute)


An example of Linux permissions:

rwxrwxrwx

The first 3 belong to the user or owner: Owner level rwx: Owner can read, write & execute the file

The second 3 belong to the group: Group-level rwx: only members of the group to which the file belongs can read, write, & execute the file

The last 3 belong to other or world: Other level rwx: All users can read, write and execute

To change file permissions using the CLI, you would use "chmod"

Permissions example: rwxrw-r--

The owner has read, write, execute

Groups have read, write

Other have read