Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

282 lines (277 sloc) 13.896 kb
echo "Trying old style first..."
set user="NT AUTHORITY\NETWORK"
cacls data_custom\modules\chat /e /g %user%:F
cacls data_custom\modules\admin_backup /e /g %user%:F
cacls data_custom\spelling\output.log /e /g %user%:F
cacls data_custom\spelling\write.log /e /g %user%:F
cacls data_custom\spelling\personal_dicts /e /g %user%:F
cacls themes /e /g %user%:F
cacls text_custom\*.txt /e /g %user%:F
cacls text_custom\EN\*.txt /e /g %user%:F
cacls persistant_cache /e /g %user%:F
cacls persistant_cache\* /e /g %user%:F
cacls safe_mode_temp /e /g %user%:F
cacls safe_mode_temp\* /e /g %user%:F
cacls lang_cached /e /g %user%:F
cacls lang_cached\* /e /g %user%:F
cacls lang_custom /e /g %user%:F
cacls lang_custom\* /e /g %user%:F
cacls themes\map.ini /e /g %user%:F
cacls themes\default /e /g %user%:F
cacls themes\default\css_custom /e /g %user%:F
cacls themes\default\css_custom\* /e /g %user%:F
cacls themes\default\images_custom /e /g %user%:F
cacls themes\default\images_custom\* /e /g %user%:F
cacls themes\default\templates_custom /e /g %user%:F
cacls themes\default\templates_custom\* /e /g %user%:F
cacls themes\default\theme.ini /e /g %user%:F
cacls themes\default\templates_cached /e /g %user%:F
cacls themes\default\templates_cached\* /e /g %user%:F
cacls data_custom\fields.xml /e /g %user%:F
cacls data_custom\errorlog.php /e /g %user%:F
cacls data_custom\ocp_sitemap.xml /e /g %user%:F
cacls data_custom\modules\admin_stats /e /g %user%:F
cacls imports\* /e /g %user%:F
cacls imports\mods\* /e /g %user%:F
cacls exports\* /e /g %user%:F
cacls exports\backups\* /e /g %user%:F
cacls exports\file_backups\* /e /g %user%:F
cacls exports\mods\* /e /g %user%:F
cacls uploads\* /e /g %user%:F
cacls uploads\banners\* /e /g %user%:F
cacls uploads\catalogues\* /e /g %user%:F
cacls uploads\downloads\* /e /g %user%:F
cacls uploads\filedump\* /e /g %user%:F
cacls uploads\galleries\* /e /g %user%:F
cacls uploads\galleries_thumbs\* /e /g %user%:F
cacls uploads\iotds\* /e /g %user%:F
cacls uploads\iotds_thumbs\* /e /g %user%:F
cacls uploads\attachments\* /e /g %user%:F
cacls uploads\attachments_thumbs\* /e /g %user%:F
cacls uploads\auto_thumbs\* /e /g %user%:F
cacls uploads\ocf_photos\* /e /g %user%:F
cacls uploads\ocf_photos_thumbs\* /e /g %user%:F
cacls uploads\ocf_avatars\* /e /g %user%:F
cacls uploads\ocf_cpf_upload\* /e /g %user%:F
cacls uploads\grepimages\* /e /g %user%:F
cacls uploads\watermarks\* /e /g %user%:F
cacls pages\comcode_custom /e /g %user%:F
cacls pages\comcode_custom\* /e /g %user%:F
cacls pages\comcode_custom\EN\* /e /g %user%:F
cacls forum\pages\comcode_custom /e /g %user%:F
cacls forum\pages\comcode_custom\* /e /g %user%:F
cacls forum\pages\comcode_custom\EN\* /e /g %user%:F
cacls personalzone\pages\comcode_custom /e /g %user%:F
cacls personalzone\pages\comcode_custom\* /e /g %user%:F
cacls personalzone\pages\comcode_custom\EN\* /e /g %user%:F
cacls cms\pages\comcode_custom /e /g %user%:F
cacls cms\pages\comcode_custom\* /e /g %user%:F
cacls cms\pages\comcode_custom\EN\* /e /g %user%:F
cacls docs\pages\comcode_custom /e /g %user%:F
cacls docs\pages\comcode_custom\* /e /g %user%:F
cacls docs\pages\comcode_custom\EN\* /e /g %user%:F
cacls site\pages\comcode_custom /e /g %user%:F
cacls site\pages\comcode_custom\* /e /g %user%:F
cacls site\pages\comcode_custom\EN\* /e /g %user%:F
cacls adminzone\pages\comcode_custom /e /g %user%:F
cacls adminzone\pages\comcode_custom\* /e /g %user%:F
cacls adminzone\pages\comcode_custom\EN\* /e /g %user%:F
cacls collaboration\pages\comcode_custom /e /g %user%:F
cacls collaboration\pages\comcode_custom\* /e /g %user%:F
cacls collaboration\pages\comcode_custom\EN\* /e /g %user%:F
cacls info.php /e /g %user%:F
cacls pages\html_custom /e /g %user%:F
cacls pages\html_custom\* /e /g %user%:F
cacls pages\html_custom\EN\* /e /g %user%:F
cacls forum\pages\html_custom /e /g %user%:F
cacls forum\pages\html_custom\* /e /g %user%:F
cacls forum\pages\html_custom\EN\* /e /g %user%:F
cacls personalzone\pages\html_custom /e /g %user%:F
cacls personalzone\pages\html_custom\* /e /g %user%:F
cacls personalzone\pages\html_custom\EN\* /e /g %user%:F
cacls cms\pages\html_custom /e /g %user%:F
cacls cms\pages\html_custom\* /e /g %user%:F
cacls cms\pages\html_custom\EN\* /e /g %user%:F
cacls docs\pages\html_custom /e /g %user%:F
cacls docs\pages\html_custom\* /e /g %user%:F
cacls docs\pages\html_custom\EN\* /e /g %user%:F
cacls site\pages\html_custom /e /g %user%:F
cacls site\pages\html_custom\* /e /g %user%:F
cacls site\pages\html_custom\EN\* /e /g %user%:F
cacls adminzone\pages\html_custom /e /g %user%:F
cacls adminzone\pages\html_custom\* /e /g %user%:F
cacls adminzone\pages\html_custom\EN\* /e /g %user%:F
cacls collaboration\pages\html_custom /e /g %user%:F
cacls collaboration\pages\html_custom\* /e /g %user%:F
cacls collaboration\pages\html_custom\EN\* /e /g %user%:F
cacls pages\modules_custom /e /g %user%:F
cacls pages\modules_custom\* /e /g %user%:F
cacls forum\pages\modules_custom /e /g %user%:F
cacls forum\pages\modules_custom\* /e /g %user%:F
cacls personalzone\pages\modules_custom /e /g %user%:F
cacls personalzone\pages\modules_custom\* /e /g %user%:F
cacls cms\pages\modules_custom /e /g %user%:F
cacls cms\pages\modules_custom\* /e /g %user%:F
cacls docs\pages\modules_custom /e /g %user%:F
cacls docs\pages\modules_custom\* /e /g %user%:F
cacls site\pages\modules_custom /e /g %user%:F
cacls site\pages\modules_custom\* /e /g %user%:F
cacls adminzone\pages\modules_custom /e /g %user%:F
cacls adminzone\pages\modules_custom\* /e /g %user%:F
cacls collaboration\pages\modules_custom /e /g %user%:F
cacls collaboration\pages\modules_custom\* /e /g %user%:F
cacls pages\minimodules_custom /e /g %user%:F
cacls pages\minimodules_custom\* /e /g %user%:F
cacls forum\pages\minimodules_custom /e /g %user%:F
cacls forum\pages\minimodules_custom\* /e /g %user%:F
cacls personalzone\pages\minimodules_custom /e /g %user%:F
cacls personalzone\pages\minimodules_custom\* /e /g %user%:F
cacls cms\pages\minimodules_custom /e /g %user%:F
cacls cms\pages\minimodules_custom\* /e /g %user%:F
cacls docs\pages\minimodules_custom /e /g %user%:F
cacls docs\pages\minimodules_custom\* /e /g %user%:F
cacls site\pages\minimodules_custom /e /g %user%:F
cacls site\pages\minimodules_custom\* /e /g %user%:F
cacls adminzone\pages\minimodules_custom /e /g %user%:F
cacls adminzone\pages\minimodules_custom\* /e /g %user%:F
cacls collaboration\pages\minimodules_custom /e /g %user%:F
cacls collaboration\pages\minimodules_custom\* /e /g %user%:F
echo "Trying new style..."
set user="IUSR"
icacls data_custom\modules\admin_backup /grant %user%:(M)
icacls data_custom\modules\chat /grant %user%:(M)
icacls data_custom\spelling\output.log /grant %user%:(M)
icacls data_custom\spelling\write.log /grant %user%:(M)
icacls data_custom\spelling\personal_dicts /grant %user%:(M)
icacls themes /grant %user%:(M)
icacls text_custom\*.txt /grant %user%:(M)
icacls text_custom\EN\*.txt /grant %user%:(M)
icacls persistant_cache /grant %user%:(M)
icacls persistant_cache\* /grant %user%:(M)
icacls safe_mode_temp /grant %user%:(M)
icacls safe_mode_temp\* /grant %user%:(M)
icacls lang_cached /grant %user%:(M)
icacls lang_cached\* /grant %user%:(M)
icacls lang_custom /grant %user%:(M)
icacls lang_custom\* /grant %user%:(M)
icacls themes\map.ini /grant %user%:(M)
icacls themes\default /grant %user%:(M)
icacls themes\default\css_custom /grant %user%:(M)
icacls themes\default\css_custom\* /grant %user%:(M)
icacls themes\default\images_custom /grant %user%:(M)
icacls themes\default\images_custom\* /grant %user%:(M)
icacls themes\default\templates_custom /grant %user%:(M)
icacls themes\default\templates_custom\* /grant %user%:(M)
icacls themes\default\theme.ini /grant %user%:(M)
icacls themes\default\templates_cached /grant %user%:(M)
icacls themes\default\templates_cached\* /grant %user%:(M)
icacls data_custom\fields.xml /grant %user%:(M)
icacls data_custom\breadcrumbs.xml /grant %user%:(M)
icacls data_custom\errorlog.php /grant %user%:(M)
icacls ocp_sitemap.xml /grant %user%:(M)
icacls data_custom\modules\admin_stats /grant %user%:(M)
icacls imports\* /grant %user%:(M)
icacls imports\mods\* /grant %user%:(M)
icacls exports\* /grant %user%:(M)
icacls exports\backups\* /grant %user%:(M)
icacls exports\file_backups\* /grant %user%:(M)
icacls exports\mods\* /grant %user%:(M)
icacls uploads\* /grant %user%:(M)
icacls uploads\banners\* /grant %user%:(M)
icacls uploads\catalogues\* /grant %user%:(M)
icacls uploads\downloads\* /grant %user%:(M)
icacls uploads\filedump\* /grant %user%:(M)
icacls uploads\galleries\* /grant %user%:(M)
icacls uploads\galleries_thumbs\* /grant %user%:(M)
icacls uploads\iotds\* /grant %user%:(M)
icacls uploads\iotds_thumbs\* /grant %user%:(M)
icacls uploads\attachments\* /grant %user%:(M)
icacls uploads\attachments_thumbs\* /grant %user%:(M)
icacls uploads\auto_thumbs\* /grant %user%:(M)
icacls uploads\ocf_photos\* /grant %user%:(M)
icacls uploads\ocf_photos_thumbs\* /grant %user%:(M)
icacls uploads\ocf_avatars\* /grant %user%:(M)
icacls uploads\ocf_cpf_upload\* /grant %user%:(M)
icacls uploads\grepimages\* /grant %user%:(M)
icacls uploads\watermarks\* /grant %user%:(M)
icacls pages\comcode_custom /grant %user%:(M)
icacls pages\comcode_custom\* /grant %user%:(M)
icacls pages\comcode_custom\EN\* /grant %user%:(M)
icacls forum\pages\comcode_custom /grant %user%:(M)
icacls forum\pages\comcode_custom\* /grant %user%:(M)
icacls forum\pages\comcode_custom\EN\* /grant %user%:(M)
icacls personalzone\pages\comcode_custom /grant %user%:(M)
icacls personalzone\pages\comcode_custom\* /grant %user%:(M)
icacls personalzone\pages\comcode_custom\EN\* /grant %user%:(M)
icacls cms\pages\comcode_custom /grant %user%:(M)
icacls cms\pages\comcode_custom\* /grant %user%:(M)
icacls cms\pages\comcode_custom\EN\* /grant %user%:(M)
icacls docs\pages\comcode_custom /grant %user%:(M)
icacls docs\pages\comcode_custom\* /grant %user%:(M)
icacls docs\pages\comcode_custom\EN\* /grant %user%:(M)
icacls site\pages\comcode_custom /grant %user%:(M)
icacls site\pages\comcode_custom\* /grant %user%:(M)
icacls site\pages\comcode_custom\EN\* /grant %user%:(M)
icacls adminzone\pages\comcode_custom /grant %user%:(M)
icacls adminzone\pages\comcode_custom\* /grant %user%:(M)
icacls adminzone\pages\comcode_custom\EN\* /grant %user%:(M)
icacls collaboration\pages\comcode_custom /grant %user%:(M)
icacls collaboration\pages\comcode_custom\* /grant %user%:(M)
icacls collaboration\pages\comcode_custom\EN\* /grant %user%:(M)
icacls info.php /grant %user%:(M)
icacls pages\html_custom /grant %user%:(M)
icacls pages\html_custom\* /grant %user%:(M)
icacls pages\html_custom\EN\* /grant %user%:(M)
icacls forum\pages\html_custom /grant %user%:(M)
icacls forum\pages\html_custom\* /grant %user%:(M)
icacls forum\pages\html_custom\EN\* /grant %user%:(M)
icacls personalzone\pages\html_custom /grant %user%:(M)
icacls personalzone\pages\html_custom\* /grant %user%:(M)
icacls personalzone\pages\html_custom\EN\* /grant %user%:(M)
icacls cms\pages\html_custom /grant %user%:(M)
icacls cms\pages\html_custom\* /grant %user%:(M)
icacls cms\pages\html_custom\EN\* /grant %user%:(M)
icacls docs\pages\html_custom /grant %user%:(M)
icacls docs\pages\html_custom\* /grant %user%:(M)
icacls docs\pages\html_custom\EN\* /grant %user%:(M)
icacls site\pages\html_custom /grant %user%:(M)
icacls site\pages\html_custom\* /grant %user%:(M)
icacls site\pages\html_custom\EN\* /grant %user%:(M)
icacls adminzone\pages\html_custom /grant %user%:(M)
icacls adminzone\pages\html_custom\* /grant %user%:(M)
icacls adminzone\pages\html_custom\EN\* /grant %user%:(M)
icacls collaboration\pages\html_custom /grant %user%:(M)
icacls collaboration\pages\html_custom\* /grant %user%:(M)
icacls collaboration\pages\html_custom\EN\* /grant %user%:(M)
icacls pages\modules_custom /grant %user%:(M)
icacls pages\modules_custom\* /grant %user%:(M)
icacls forum\pages\modules_custom /grant %user%:(M)
icacls forum\pages\modules_custom\* /grant %user%:(M)
icacls personalzone\pages\modules_custom /grant %user%:(M)
icacls personalzone\pages\modules_custom\* /grant %user%:(M)
icacls cms\pages\modules_custom /grant %user%:(M)
icacls cms\pages\modules_custom\* /grant %user%:(M)
icacls docs\pages\modules_custom /grant %user%:(M)
icacls docs\pages\modules_custom\* /grant %user%:(M)
icacls site\pages\modules_custom /grant %user%:(M)
icacls site\pages\modules_custom\* /grant %user%:(M)
icacls adminzone\pages\modules_custom /grant %user%:(M)
icacls adminzone\pages\modules_custom\* /grant %user%:(M)
icacls collaboration\pages\modules_custom /grant %user%:(M)
icacls collaboration\pages\modules_custom\* /grant %user%:(M)
icacls pages\minimodules_custom /grant %user%:(M)
icacls pages\minimodules_custom\* /grant %user%:(M)
icacls forum\pages\minimodules_custom /grant %user%:(M)
icacls forum\pages\minimodules_custom\* /grant %user%:(M)
icacls personalzone\pages\minimodules_custom /grant %user%:(M)
icacls personalzone\pages\minimodules_custom\* /grant %user%:(M)
icacls cms\pages\minimodules_custom /grant %user%:(M)
icacls cms\pages\minimodules_custom\* /grant %user%:(M)
icacls docs\pages\minimodules_custom /grant %user%:(M)
icacls docs\pages\minimodules_custom\* /grant %user%:(M)
icacls site\pages\minimodules_custom /grant %user%:(M)
icacls site\pages\minimodules_custom\* /grant %user%:(M)
icacls adminzone\pages\minimodules_custom /grant %user%:(M)
icacls adminzone\pages\minimodules_custom\* /grant %user%:(M)
icacls collaboration\pages\minimodules_custom /grant %user%:(M)
icacls collaboration\pages\minimodules_custom\* /grant %user%:(M)
Jump to Line
Something went wrong with that request. Please try again.