Fix file permissions on ca.crt when it is installed.

438220
This commit is contained in:
Rob Crittenden 2008-03-26 12:11:58 -04:00
parent 5f72955bca
commit 79db4c3aa2

View File

@ -127,6 +127,7 @@ def install_http(config):
shutil.copy(config.dir + "/preferences.html", "/usr/share/ipa/html/preferences.html")
shutil.copy(config.dir + "/configure.jar", "/usr/share/ipa/html/configure.jar")
shutil.copy(config.dir + "/ca.crt", "/usr/share/ipa/html/ca.crt")
os.chmod("/usr/share/ipa/html/ca.crt", 0444)
except Exception, e:
print "error copying files: " + str(e)
sys.exit(1)