def ensure_script_permissions(self):
        """ Ensures that we have permission to execute the command """

        if not self.permissionChecked:
            os.chmod(sublime.packages_path() + os.sep + self.packagePath + os.sep + self.ANGLEPath[self.platform], 0o755)

        self.permissionChecked = True
        return self.permissionChecked
dataset/ETHPy150Open WebGLTools/GL-Shader-Validator/GLShaderValidator.py/ANGLECommandLine.ensure_script_permissions/original