Alright, I think I figured out the writing problem. I've changed the group permissions of each fossil file to www-data
, and allowed the group to read and write.
$ sudo chown :www-data *.fossil
$ sudo chmod g+w *.fossil
That seemed to have solved that problem.