Bug 63447 - Cache security

git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@875 6955db30-a419-402b-8a0d-67ecbb4d7f56
remotes/github/custis
vfilippov 2010-07-15 14:05:43 +00:00 committed by Vitaliy Filippov
parent 5c1ac512d1
commit a9701721e2
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ def cacheset(key, value, expire = 86400):
f.write(str(expire)+"\n")
f.write(value)
f.close()
os.chmod(gac['cache_dir']+'/'+key,0600)
except:
raise
return 1