Sometimes the native way of PowerShell is not always the best way. For something like this, I will still use icacls.exe. Remember that good experience is very good at PowerShell. Just cd to the directory you want to install and execute:
icacls $pwd /grant "Everyone":(OI)(CI)F
This will give Everyone full access to the current directory down (through permission inheritance). This should work as long as there are no explicit failures for everyone in the dir structure.
Keith hill
source share