Sun Feb 19 17:42:23 UTC 2006 Alberto Bertogli * Change cache file permissions 600. Change cache file permissions to 600. This should work on Windows too because the bits are ignored, according to python's documentation. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-09-26 21:58:42.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-09-26 21:58:42.000000000 +0000 @@ -467,6 +467,7 @@ fname = self.basedir + '/.' + self.fname + '-' + pid self.file = open(fname, 'w') self.mode = 'w' + os.chmod(fname, stat.S_IRUSR | stat.S_IWUSR) # step over stdout so when "print" tries to write # output, we get it first