For some reason, there isn't "staff" user group on a folder that I just created. How do I add/permit "staff" user group to a folder that I just created?
This post, seems to suggest to type this in terminal:
sudo chgrp -R staff ./folderName
- Can the command work if I don't use the "-R"? I don't really want it to apply to the subsequent folders underneath it.
- Also, this reddit post, suggest that I need to also try this before:
sudo chown <owner's username> ./folderName
I thought "chown" is change owner? Which user do I need to change to? what should be <owner's username>?
Kindly please be patient and guide me. I'm very new to this unix command. I just want to make sure that I'm doing the right thing before I stuffed up.