'Change the mode setting for certain files in the installation environment.  Since this class is not
used in the initial download stage, no recipe step filtering is performed here, and None values are
always returned for filtered_actions and dir.'

def execute_step(self, tool_dependency, package_name, actions, action_dict, filtered_actions, env_file_builder, install_environment, work_dir, current_dir=None, initial_download=False):

    for (target_file, mode) in action_dict['change_modes']:
        if os.path.exists(target_file):
            os.chmod(target_file, mode)
        else:
            log.debug('Invalid    file    %s    specified,    ignoring    %s    action.', target_file, self.type)
    return (tool_dependency, None, None)
