Lab 5 Linux Permissions - nrubera/SYS-255-03-Tech-Journal GitHub Wiki

Changing Linux file permissions is useful and fairly easy to do. In this instance I had two groups, marketing, and management. I first had to create two groups, one for marketing and one for management.

image

image

Once the groups are created, you must add users to the groups. This can be done with the following command:

image

To change the group that owns a directory you would use this command, for this example it is the management group:

image

Changing what permissions a group has in a directory can be done with the following command:

image

The "g" in this instance stands for gorup and the letter after the "+" stands for what permissions that you want to change w = write r = read x = execute