Read, Write, Update & Delete Access to Directory in IIS using Docker

RUN $acl = Get-Acl -Path ‘C:\inetpub\wwwroot’; $accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule('BUILTIN\IIS_IUSRS', 'FullControl', 'ContainerInherit,ObjectInherit', 'None', 'Allow');
$acl.SetAccessRule($accessRule); `
Set-Acl -Path “C:\inetpub\wwwroot” -AclObject $acl;

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected with IP Blacklist CloudIP Blacklist Cloud

This site uses Akismet to reduce spam. Learn how your comment data is processed.