Why does the input of "-rwx------ 1 reid staff 1734 Jun 22 14:52 prog" give the error of "zsh: abort"

#include <stdio.h>
#include <stdlib.h>

int main(){
	char directory;
	char permissions[9];
	char idk[31];
	char username[31];
	char group_name[31];
	char s_size[31];
	char month[31];
	char date[31];
	char time[31];
	char filename[31];

	scanf("%c%s %s %s %s %s %s %s %s %s", &directory, permissions, idk, username, group_name, s_size, month, date, time, filename);

	int size = strtol(s_size, NULL, 10);
	
	printf("%c %s %s %s %s %d %s %s %s %s \n", directory, permissions, idk, username, group_name, size, month, date, time, filename);

	return 0;
}