@staticmethod
def fix_permissions(connection, config):
    """
         Fix Permissions.
        """
    connection.sudo('chown -R {0}:{1} {2}'.format(config.project_user,
        config.project_group, config.project_path), warn=True, hide='both')
    connection.sudo('chmod -R g+w {0}'.format(config.project_path), warn=
        True, hide='both')
