HTMLPurifier_DefinitionCache_Serializer::_testPermissions
Tests permissions on a directory and throws out friendly error messages and attempts to chmod it itself if possible
Signature
private function _testPermissions(
$dir )
Parameters
$dir
—