Commits

Zhang Huangbin committed deb7a33

Required by OpenVZ:
Make sure others can read-write /dev/null and /dev/*random, so that
it won't interrupt iRedMail installation.

Thanks Ivan <spump _at_ me.com> for the report and fix.

Comments (0)

Files changed (1)

     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
 
 # ------------------------------