how would I properly point to the parameters 
int check_permissions(char *current_perms, char *required_perms){
    int i;
    for (i = 0; i < 9; i++) {
        if (strcmp(required_perms[i], "-") == 0 && strcmp(current_perms[i], "-") == 0) {
            return 1;
        }
    }
    return 0;
}