Explorar el Código

fix permission for pem file

Serghey Rodin hace 9 años
padre
commit
cda3caebb6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      bin/v-add-user

+ 2 - 1
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