0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

set permissions on key files

This commit is contained in:
Eliot Horowitz 2011-06-29 15:06:12 -04:00
parent 8b8bc2506c
commit 98c7e12a1a

View File

@ -22,6 +22,7 @@ import urllib
import urllib2
import buildscripts
import buildscripts.bb
import stat
from buildscripts import utils
buildscripts.bb.checkOk()
@ -752,6 +753,11 @@ try:
except OSError:
pass
if not windows:
for keysuffix in [ "1" , "2" ]:
keyfile = "jstests/libs/key%s" % keysuffix
os.chmod( keyfile , stat.S_IWUSR|stat.S_IRUSR )
# --- check system ---
def getSysInfo():