protected function setPermissions($filePath, $overrideFilePermissions)
	{
		if ($overrideFilePermissions) {
			chmod($filePath, $overrideFilePermissions & ~umask());
		}
		elseif (is_null($overrideFilePermissions)) {
			chmod($filePath, 0666 & ~umask());
		}
	}