get_permissions
if (!get_permissions(arg, &perms))
if (argi + 1 >= argc || !get_permissions(argv[argi++], permissions)) {