Permissions have two parts: an action and a set of users. The three actions—read, write, and execute—define what can be done to a file, while the user sets define who can do it.
You use the chmod command to set each of these permissions. To see what permissions have been set on a file or directory, we can use ls command options. We can use the -l (long format) option to have ...