Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

File System Rights DeleteSubdirectoriesAndFiles but not parent folder

$
0
0

I have to solve the following problem. 
On 200 folders (and every new additional folders) the permissions for a group should be set in this way that group members 
only can delete subfolders an files but not the parent foldler.
Folder Properties>Security>Advanced>Permission>Change Permission>"Group1">Edit
Flag on "Delete" not set.
Flag on "Delet subfolders and files" set.
I only have to remove the "Delete" flag.
The Flag "Delete subfolders an files" is set, because group memers do have full access to subfolders and files. Only deleting of the parent folder must be prevented.

How can I do this by Powershell script?

Thanks for any support.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>