I want to give a specific user with the username
userA permission to only read a folder that I created.
Every other post that I found says you should either create a new group, which I cannot because I do not have root permission. When I tried creating a group
groupadd class1 it displayed the following message:
groupadd: Permission denied. groupadd: cannot lock /etc/group; try again later
The other solution that was suggested by different posts is that I should make the user an owner of the folder, which I'm not comfortable doing because I do not want them adding others to the folder.