The permission keeps being denied, but as far as I can tell, my permissions are wide open.
//snip int outfile = creat("outFile.txt", O_RDWR