Chmod 777 to a folder and all contents

You can use Linux chmod command with -R or –recursive option to give full or required permission to a directory and files and sub-directories inside it.

Example:

Create some files and directories:

Provide permission to a folder and all contents recursively:

Check file permissions recursively:

Leave a Reply