For those of you who are getting into Linux and want a guide on the command line this article is very good. It has clear examples of how to create users, groups, how permissions are set in Linux.
https://www.maketecheasier.com/use-access-control-lists-control-file-permissions-linux/