Hello friends, how are you?
I need a script that turns off the inheritance option for folders, subfolders, and files.
The structure of the folders is as follows:
Parent folder: FS
Child folders inside the FS folder:
I need the scripts to remove the inheritance folder from the FS folder in the COMMERCIAL, ENGINEERING, AND SALES folders and in the subfolders and files within them.
In other words the child folders can not inherit the parent's permission.
I need the script to do the disable inheritance action while retaining the permissions of the inherited FS folder.
Can anyone help?