data/versioncache and Scmbug
mkgnu at gmx.net
Tue Aug 10 08:09:26 UTC 2004
Well, there's a perfectly logical explanation for everything.
On Tue, 2004-07-27 at 14:24, Christian Robottom Reis wrote:
> I'm finding it hard to understand why your versioncache would not be
> generated upon running a CGI, but you might be able to identify this
> quicker than me given it's actually missing from your disk <wink>.
It turns out that if one calls GenerateVersionTable() as the root user
(e.g. when running the Scmbug daemon), the permissions on
# ls -lrtah data/versioncache
-rw-rw---- 1 apache apache 16K Aug 10 01:05
Which forbid the root user to delete the versioncache file.
suddenly unlink("data/versioncache") sounds a lot more attractive than
calling GenerateVersionTable(). Hmm...
More information about the developers