I would like to do the equivalent of chmod -w+r-x foo
or attrib +R foo
in Windows Powershell. Putzing around, I notice a fairly gnarly Set-Acl
function that looks significantly fancier than what I need.
How do I do attrib +R foo
in Windows Powershell?