When I touched the Linux environment for the first time in a long time, I forgot the Linux command quite a bit, so make a note of it.
chmod [mode] [file name or directory name]
Use the "-R" option to recursively change the directory.
The following page was easy to understand for the mode explanation. https://qiita.com/shisama/items/5f4c4fa768642aad9e06
chown [user name] [file name or directory name]
chgrp [group name] [file name or directory name]