JPath::setPermissions

Chmods files and directories recursively to given permissions.