Source

iredmail / iRedMail / iRedMail.sh

Diff from to

File iRedMail/iRedMail.sh

     fi
 fi
 
-# ------------------------------
+# --------------------------------------
 # Check target platform and environment.
-# ------------------------------
+# --------------------------------------
+# Required by OpenVZ:
+# Make sure others can read-write /dev/null and /dev/*random, so that it won't
+# interrupt iRedMail installation.
+chmod og+rx /dev/null /dev/*random &>/dev/null
+
 check_env
 
 # ------------------------------