So I reset all of my chrome browsers settings back to default and disabled all my extensions like ublock and decentraleyes and I tried flashing the factory image again. Again it went fine until it got to my phone rebooting into the userspace fastboot mode so it could flash the rest of the OS. As it was doing this I got the same error, Error: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.
I've ruled out the hardening and the incognito mode. The only other thing I can think of is storage space but my phone has as much storage as factory settings would give it (I just bought the phone and updated it fully and then factory reset it so I could OEM unlock it and then I went straight into the installing graphene process)
I have a new computer coming to me next week with it's main OS being Windows so I'm going to try it on that next. If there is any other solutions anyone can think of in the meantime let me know. I'm still researching around the internet and currently looking at this thread as well https://discuss.grapheneos.org/d/922-pixel-6a-installation-array-buffer-allocation-failed/7