From cda3caebb6ae47d2c4a6d022f6ef149b29e1a71d Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 29 Sep 2016 12:01:57 +0300 Subject: [PATCH] fix permission for pem file --- bin/v-add-user | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/v-add-user b/bin/v-add-user index da50f674..256dacb3 100755 --- a/bin/v-add-user +++ b/bin/v-add-user @@ -74,7 +74,8 @@ fi if [ ! -z "$MAIL_SYSTEM" ]; then mkdir $HOMEDIR/$user/conf/mail $HOMEDIR/$user/mail - chmod 751 $HOMEDIR/$user/mail $HOMEDIR/$user/conf/mail + chmod 751 $HOMEDIR/$user/mail + chmod 755 $HOMEDIR/$user/conf/mail fi if [ ! -z "$DNS_SYSTEM" ]; then