Bug 63447 - Cache security
git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@875 6955db30-a419-402b-8a0d-67ecbb4d7f56remotes/github/custis
parent
5c1ac512d1
commit
a9701721e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue