Эх сурвалжийг харах

Set correct permission for ssl mail folder.

Raphael Schneeberger 6 жил өмнө
parent
commit
87d0a45ef2
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      func/domain.sh

+ 3 - 0
func/domain.sh

@@ -651,6 +651,9 @@ add_mail_ssl_config() {
     chown -h $user:mail $HOMEDIR/$user/conf/mail/$domain/ssl/*
     chown -h $user:mail $HOMEDIR/$user/conf/mail/$domain/ssl/*
     chmod -R 0644 /usr/local/hestia/ssl/mail/*
     chmod -R 0644 /usr/local/hestia/ssl/mail/*
     chown -h $user:mail /usr/local/hestia/ssl/mail/*
     chown -h $user:mail /usr/local/hestia/ssl/mail/*
+    
+    # Set correct permission on ssl folder
+    chmod 0751 $HOMEDIR/$user/conf/mail/$domain/ssl/
 }
 }
 
 
 # Delete SSL support for mail domain
 # Delete SSL support for mail domain