1

パーソナルサーバーで化石リポジトリをホストするのはこれが初めてです。Windows 7でプロジェクトのクローンを作成しようとすると、奇妙なメッセージが表示されます。

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

エラーメッセージはどういう意味ですか?どこで私は間違えましたか?

4

1 に答える 1

1

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.

于 2013-01-21T02:16:18.073 に答える