Looking at my above error, it looks like I just need to make /vendor/flarum/core/ssrc/Database/AbstractModel.php writable.
So should I just run:
sudo chmod 775 /vendor/flarum/core/src/Database/AbstractModel.php
I just want to make sure that's the appropriate permissions so I don't mess anything up security wise either.