Updated Security protection of various files in Win32 OpenSSH (markdown)

Yanbing 2017-05-15 14:33:58 -07:00
parent c819bc1751
commit e771a640b9

@ -63,7 +63,7 @@ function Set-SecureFileACL
) )
$myACL = Get-ACL -Path $FilePath $myACL = Get-ACL -Path $FilePath
$myACL.SetAccessRuleProtection($True, $True) $myACL.SetAccessRuleProtection($True, $FALSE)
Set-Acl -Path $FilePath -AclObject $myACL Set-Acl -Path $FilePath -AclObject $myACL
$myACL = Get-ACL $FilePath $myACL = Get-ACL $FilePath