Frage

This is the first time I've attempt to host a fossil repository on my personal server. When I try to clone a project on Windows 7, I get a bizarre message:

PS [folder]> fossil clone 'http://[hostName]/cgi-bin/repo/[repoName]' [repoName].fossil
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:         218          1          0          0
Sent:              58          1          0          0
Error: Database error: attempt to write a readonly database
UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid) WHERE objid IN (SELECT mid FROM time_fudge);DROP TABLE time_fudge;
Received:         218          1          0          0
Total network traffic: 515 bytes sent, 858 bytes received
C:\Program Files (x86)\Fossil\fossil.exe: server returned an error - clone aborted

What does the error message mean? Where did I go wrong?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top