For some reason, there isn't "staff" user group on a folder that I just created.
I would like the to add/permit "staff" user group to read and write in this folder.
How do I add/permit "staff" to this folder?
I'm new to all this unix command so not really sure. But this post, seems to suggest to type this in terminal:
sudo chgrp -R staff ./folderName
- Is the "./folderName" a relative path? Meaning for example if the folder is right under desktop and my current directory is desktop, that command should do it right? or does the path need to be absolute?"
- What does the "-R" do? Because I seen other post that doesnt use the "-R"? Is it necessary?
I'm asking this to make sure that I'm doing the correct thing before I stuffed up. I'm totally new to all this, kindly please be patient and guide me.