Fix incorrect file permission of mlmmjadmin script.

This commit is contained in:
Zhang Huangbin 2018-04-15 20:22:08 +08:00
parent f26ddb336b
commit f70037a4de
8 changed files with 17 additions and 17 deletions

View File

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

View File

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

View File

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

View File

@ -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"

View File

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

View File

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

View File

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

View File

@ -24,7 +24,7 @@
<li><a href="#update-etciredmail-release-with-new-iredmail-version-number">Update /etc/iredmail-release with new iRedMail version number</a></li>
<li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-stable-release-22">Upgrade iRedAPD (Postfix policy server) to the latest stable release (2.2)</a></li>
<li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release-09">Upgrade iRedAdmin (open source edition) to the latest stable release (0.9)</a></li>
<li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release-135">Upgrade Roundcube webmail to the latest stable release (1.3.5)</a></li>
<li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release-136">Upgrade Roundcube webmail to the latest stable release (1.3.6)</a></li>
<li><a href="#upgrade-sogo-from-v3-to-v4">Upgrade SOGo from v3 to v4</a></li>
<li><a href="#upgrade-dovecot-from-22-to-23">Upgrade Dovecot from 2.2 to 2.3</a></li>
<li><a href="#fixed-sogo-backup-script-contains-3-issues">Fixed: SOGo backup script contains 3 issues</a></li>
@ -74,7 +74,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
<ul>
<li>Mar 12, Add new ldap attribute/value pairs required by Dovecot-2.3.</li>
<li>Mar 4, Upgrade SOGo from v3 to v4.</li>
<li>Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.5.</li>
<li>Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.6.</li>
<li>Mar 1, SQL structure changes in <code>vmail</code> database.</li>
<li>Feb 14, 2018: [SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files.</li>
<li>Feb 11, 2018: netdata integration.</li>
@ -105,7 +105,7 @@ so that you can know which version of iRedMail you're running. For example:</p>
<p>Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release:
<a href="./migrate.or.upgrade.iredadmin.html">Upgrade iRedAdmin to the latest stable release</a></p>
<h3 id="upgrade-roundcube-webmail-to-the-latest-stable-release-135">Upgrade Roundcube webmail to the latest stable release (1.3.5)</h3>
<h3 id="upgrade-roundcube-webmail-to-the-latest-stable-release-136">Upgrade Roundcube webmail to the latest stable release (1.3.6)</h3>
<div class="admonition warning">
<p class="admonition-title">Roundcube 1.3</p>
<ul>