acl_string_to_perm
error = acl_string_to_perm(permission, &p);
int acl_string_to_perm(char *string, acl_perm_t *perm);