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

好吧,我想我解决了写作问题。我已将每个化石文件的组权限更改为www-data,并允许该组读取和写入。

$ sudo chown :www-data *.fossil
$ sudo chmod g+w *.fossil

这似乎解决了这个问题。

于 2013-01-21T02:16:18.073 回答