Jump to content

Change Permissions to Read/Write/Execute For an Entire Folder and All Subfolders/Files


Dr. Nathan Parker

Recommended Posts

I know there is a way to use chmod in Terminal to Change Permissions to Read/Write/Execute on certain folders or files.

 

Is there a way to perform it on a folder and all subfolders/files within the folder?

 

Thanks!

Link to comment
Share on other sites

The chmod included in most Linux distros supports the "-R" and "--recursive" options. According to this reference, the macOS version supports "-R".

 

Always be cautious when running a command that modifies the file system recursively. It's best to experiment in an expendable subtree first, to make sure you understand what the command you plan on executing actually does. :)

Link to comment
Share on other sites

Sounds good. Thanks for the info! chmod -R worked.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...