From 65671b48b2f747789e0a237c1506930cf631015e Mon Sep 17 00:00:00 2001 From: skel Date: Mon, 30 May 2011 17:32:52 -0400 Subject: fix permissions on ssl cert creation --- openssl-controller.lua | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 openssl-controller.lua (limited to 'openssl-controller.lua') diff --git a/openssl-controller.lua b/openssl-controller.lua old mode 100644 new mode 100755 index 824e6bd..7d9ae9a --- a/openssl-controller.lua +++ b/openssl-controller.lua @@ -9,6 +9,7 @@ local sslstatus mvc={} mvc.pre_exec = function(self) + self.model.set_umask() sslstatus = self.model.getstatus() if (sslstatus.value.version.errtxt and self.conf.action ~= "status") or (sslstatus.value.conffile.errtxt and self.conf.action ~= "status" and self.conf.action ~= "editconfigfile" and self.conf.action ~= "checkenvironment") -- cgit v1.2.3