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-model.lua | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 openssl-model.lua (limited to 'openssl-model.lua') diff --git a/openssl-model.lua b/openssl-model.lua old mode 100644 new mode 100755 index 423809e..b5a84a6 --- a/openssl-model.lua +++ b/openssl-model.lua @@ -300,6 +300,11 @@ getstatus = function() return cfe({ type="group", value={version=version, conffile=conffile, environment=environment, cacert=cacert, cacertcontents=cacertcontents, cakey=cakey}, label="openssl status" }) end +set_umask = function() + return posix.umask("rw-------") +end + + getreqdefaults = function() local defaults = getdefaults() -- cgit v1.2.3