You can learn how to recursively alter file permissions in Linux in a tutorial published by TecAdmin.
How to Recursively Change the File's Permissions in Linux
In Linux, the file permissions determine who can access and modify a file or directory. By default, the owner of a file or directory has full control over it, but it is also possible to grant or restrict access to other users or groups. If you want to change the permissions of multiple files or restrict access to other users or groups.
How to Recursively Change the File's Permissions in Linux – TecAdmin