is this checking the memory addresses
        if(required[i] == 'r' || required[i] == 'w' || required[i] == 'x'){
            if (required[i] != permissions_field[i]){
                return 1;
            }
        }
