Commit 49f9b7f6 authored by Paul Cammish's avatar Paul Cammish

Merge branch 'cherry-pick-41649708' into 'buster-testing'

Prevent sympl-filesystem-security from changing permissions of /etc/firewall/local.d/ contents

See merge request !185
parents 3d7cd5fd 3271d82c
Pipeline #870 passed with stages
in 25 minutes and 23 seconds
CHANGELOG
---------
2020-04-20
sympl-core
* Prevent sympl-filesystem-security from changing permissions of /etc/firewall/local.d/ contents.
2020-04-18
sympl-mail
* Fixed sympl-mail-dovecot-sni issue with filesystem loops (#281)
......
sympl-core (10.0.200420.0) stable; urgency=medium
* Prevent sympl-filesystem-security from changing permissions of /etc/firewall/local.d/ contents.
-- Paul Cammish <sympl@kelduum.net> Mon, 20 Apr 2020 15:15:06 +0100
sympl-core (10.0.200415.0) stable; urgency=medium
* Added --verbose switch to sympl-filesystem-security
......
......@@ -140,9 +140,9 @@ fi
if [ -d /etc/sympl ]; then
find "/etc/sympl" ! -type l ! -path '*/test.d/*' \( ! -user sympl -o ! -group sympl \) $VERBOSE -exec echo chown sympl:sympl {} \;
find "/etc/sympl" ! -type l ! -path '*/test.d/*' ! -path '*/firewall/local.d/*' \( ! -user sympl -o ! -group sympl \) $VERBOSE -exec echo chown sympl:sympl {} \;
find "/etc/sympl" ! -type l ! -path '*/test.d/*' \( -type f ! -perm 664 $VERBOSE -exec chmod 664 {} \; -o -type d ! -perm 775 $VERBOSE -exec chmod 775 {} \; \)
find "/etc/sympl" ! -type l ! -path '*/test.d/*' ! -path '*/firewall/local.d/*' \( -type f ! -perm 664 $VERBOSE -exec chmod 664 {} \; -o -type d ! -perm 775 $VERBOSE -exec chmod 775 {} \; \)
fi
......
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