Commit 776df8fc authored by Paul Cammish's avatar Paul Cammish

Merge branch 'disable-filesystem-security_buster' into 'buster-testing'

Fixed inconsistency with 'disable-filesystem-security' switch.

See merge request !161
parents e940c512 ee4460e5
Pipeline #780 passed with stages
in 38 minutes and 15 seconds
CHANGELOG
---------
2019-12-31
sympl-core
* Fixed inconsistency with 'disable-filesystem-security' switch.
2019-12-27
sympl-mail
* Improves default PCI Compliance by disabling TLS1.0
......
sympl-core (10.0.191231.0) stable; urgency=medium
* Fixed inconsistency with disable-filesystem-security switches.
-- Paul Cammish <sympl@kelduum.net> Tue, 31 Dec 2019 08:19:04 +0000
sympl-core (10.0.191216.0) stable; urgency=medium
* Add sympl user to relevant groups on each install.
......
......@@ -8,7 +8,7 @@
set -e
if [ -f /etc/sympl/do-not-secure ]; then exit 0; fi
if [ -f /etc/sympl/do-not-secure ] || [ -f /etc/sympl/disable-filesystem-security ] ; then exit 0; fi
function secure_domain_dir()
{
......@@ -136,7 +136,7 @@ if [ -d /etc/sympl ]; then
fi
for domain in $( find /srv -maxdepth 1 -mindepth 1 ! -type l -type d -print | grep -v '^/srv/\.' | grep '\.' ); do
if [ ! -f ${domain}/config/do-not-secure ]; then
if [ ! -f ${domain}/config/do-not-secure ] || [ -f /etc/sympl/disable-filesystem-security ] ; then
secure_domain_dir ${domain}
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment