From f70037a4de69970738fb2e7d8869dd9e6772e66a Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Sun, 15 Apr 2018 20:22:08 +0800
Subject: [PATCH] Fix incorrect file permission of mlmmjadmin script.
---
en_US/integrations/0-integration.mlmmj.ldap.md | 4 ++--
en_US/integrations/0-integration.mlmmj.mysql.md | 4 ++--
en_US/integrations/0-integration.mlmmj.pgsql.md | 4 ++--
en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md | 4 ++--
html/integration.mlmmj.ldap.html | 4 ++--
html/integration.mlmmj.mysql.html | 4 ++--
html/integration.mlmmj.pgsql.html | 4 ++--
html/upgrade.iredmail.0.9.7-0.9.8.html | 6 +++---
8 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/en_US/integrations/0-integration.mlmmj.ldap.md b/en_US/integrations/0-integration.mlmmj.ldap.md
index c0d0892b..033b0fae 100644
--- a/en_US/integrations/0-integration.mlmmj.ldap.md
+++ b/en_US/integrations/0-integration.mlmmj.ldap.md
@@ -324,7 +324,7 @@ MLMMJ_SKEL_DIR = '/usr/local/share/mlmmj/text.skel'
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 on mlmmjadmin
#
@@ -339,7 +339,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/en_US/integrations/0-integration.mlmmj.mysql.md b/en_US/integrations/0-integration.mlmmj.mysql.md
index 3156a8f9..704ca287 100644
--- a/en_US/integrations/0-integration.mlmmj.mysql.md
+++ b/en_US/integrations/0-integration.mlmmj.mysql.md
@@ -352,7 +352,7 @@ MLMMJ_SKEL_DIR = '/usr/local/share/mlmmj/text.skel'
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 mlmmjadmin on
#
@@ -367,7 +367,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 755 755 755 755 755 755 755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/en_US/integrations/0-integration.mlmmj.pgsql.md b/en_US/integrations/0-integration.mlmmj.pgsql.md
index de80bb23..c06faf9d 100644
--- a/en_US/integrations/0-integration.mlmmj.pgsql.md
+++ b/en_US/integrations/0-integration.mlmmj.pgsql.md
@@ -353,7 +353,7 @@ MLMMJ_SKEL_DIR = '/usr/local/share/mlmmj/text.skel'
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 on mlmmjadmin
#
@@ -368,7 +368,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md b/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md
index c719b872..613cca77 100644
--- a/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md
+++ b/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md
@@ -12,7 +12,7 @@
* Mar 12, Add new ldap attribute/value pairs required by Dovecot-2.3.
* Mar 4, Upgrade SOGo from v3 to v4.
-* Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.5.
+* Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.6.
* Mar 1, SQL structure changes in `vmail` database.
* Feb 14, 2018: [SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files.
* Feb 11, 2018: netdata integration.
@@ -51,7 +51,7 @@ Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release:
[Upgrade iRedAdmin to the latest stable release](./migrate.or.upgrade.iredadmin.html)
-### Upgrade Roundcube webmail to the latest stable release (1.3.5)
+### Upgrade Roundcube webmail to the latest stable release (1.3.6)
!!! warning "Roundcube 1.3"
diff --git a/html/integration.mlmmj.ldap.html b/html/integration.mlmmj.ldap.html
index 03a97f6c..d04a9f15 100644
--- a/html/integration.mlmmj.ldap.html
+++ b/html/integration.mlmmj.ldap.html
@@ -340,7 +340,7 @@ MLMMJ_DEFAULT_PROFILE_SETTINGS.update({'smtp_port': 10027})
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 on mlmmjadmin
#
@@ -355,7 +355,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/html/integration.mlmmj.mysql.html b/html/integration.mlmmj.mysql.html
index 6cf6c4ba..d8728545 100644
--- a/html/integration.mlmmj.mysql.html
+++ b/html/integration.mlmmj.mysql.html
@@ -368,7 +368,7 @@ MLMMJ_DEFAULT_PROFILE_SETTINGS.update({'smtp_port': 10027})
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 mlmmjadmin on
#
@@ -383,7 +383,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 755 755 755 755 755 755 755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/html/integration.mlmmj.pgsql.html b/html/integration.mlmmj.pgsql.html
index 9150f867..28e5d9d5 100644
--- a/html/integration.mlmmj.pgsql.html
+++ b/html/integration.mlmmj.pgsql.html
@@ -369,7 +369,7 @@ MLMMJ_DEFAULT_PROFILE_SETTINGS.update({'smtp_port': 10027})
# For RHEL/CentOS 6
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.rhel /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
chkconfig --level 345 on mlmmjadmin
#
@@ -384,7 +384,7 @@ systemctl enable mlmmjadmin
# For Debian 8, Ubuntu 14.04 and earlier releases which does NOT use systemd
#
cp /opt/mlmmjadmin/rc_scripts/mlmmjadmin.debian /etc/init.d/mlmmjadmin
-chmod 0644 /etc/init.d/mlmmjadmin
+chmod 0755 /etc/init.d/mlmmjadmin
update-rc.d mlmmjadmin defaults
#
diff --git a/html/upgrade.iredmail.0.9.7-0.9.8.html b/html/upgrade.iredmail.0.9.7-0.9.8.html
index 2ee65f22..2c2376e7 100644
--- a/html/upgrade.iredmail.0.9.7-0.9.8.html
+++ b/html/upgrade.iredmail.0.9.7-0.9.8.html
@@ -24,7 +24,7 @@
Update /etc/iredmail-release with new iRedMail version number
Upgrade iRedAPD (Postfix policy server) to the latest stable release (2.2)
Upgrade iRedAdmin (open source edition) to the latest stable release (0.9)
-Upgrade Roundcube webmail to the latest stable release (1.3.5)
+Upgrade Roundcube webmail to the latest stable release (1.3.6)
Upgrade SOGo from v3 to v4
Upgrade Dovecot from 2.2 to 2.3
Fixed: SOGo backup script contains 3 issues
@@ -74,7 +74,7 @@ check the details and
- Mar 12, Add new ldap attribute/value pairs required by Dovecot-2.3.
- Mar 4, Upgrade SOGo from v3 to v4.
-- Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.5.
+- Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.6.
- Mar 1, SQL structure changes in
vmail
database.
- Feb 14, 2018: [SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files.
- Feb 11, 2018: netdata integration.
@@ -105,7 +105,7 @@ so that you can know which version of iRedMail you're running. For example:
Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release:
Upgrade iRedAdmin to the latest stable release
-Upgrade Roundcube webmail to the latest stable release (1.3.5)
+Upgrade Roundcube webmail to the latest stable release (1.3.6)