In linux, we can use chmod command to change the file and directory permission. However, if there 100 files in a directory, how to change permissions of these files? In this tutorial, we will introduce you how to do.
In order to change permissions of all files in a linux directory, we can do as follows:
chmod R permission directory
For example:
chmod R 777 audio/
This example will change the permission of all files in audio to 777