Hi,
You can try this method:
- Open File Explorer and navigate to the root folder where you want to set the permissions.
- Right-click on the folder and select "Properties".
- In the Properties dialog box, select the "Security" tab.
- Click on the "Advanced" button to open the Advanced Security Settings dialog box.
- In the Advanced Security Settings dialog box, click on the "Change Permissions" button.
- Select the group or user for which you want to configure permissions and click on the "Edit" button.
- In the Permission Entry dialog box, go to the "Advanced" tab. Here, you can set the permissions to apply to "This folder, subfolders and files".
To set the P and U attributes, scroll down to the "Attributes" section and check the boxes for "Read-only (only applies to files in folder)" and "Exclude files from being indexed".
Click "OK" to save the changes.
These permissions will now be inherited by all subfolders and files within the root folder, effectively disabling the use of locally cached files for OneDrive.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.