restore owner

This commit is contained in:
Aleksandr Chebotov
2020-10-05 11:19:24 +03:00
parent 53b1234edd
commit e56fa77d91
3 changed files with 15 additions and 8 deletions

View File

@@ -49,3 +49,7 @@ function New-MDNewLine {
$newLineSymbol = [System.Environment]::NewLine
return $newLineSymbol * $Count
}
function Restore-UserOwner {
sudo chown -R ${env:USER}: $env:HOME
}