Steps to Change Permissions of All Files in a Directory – Linux Tutorial

By | August 23, 2021

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

Leave a Reply

Your email address will not be published. Required fields are marked *