Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sympl
Sympl
Commits
ee4460e5
Commit
ee4460e5
authored
Dec 31, 2019
by
Paul Cammish
Browse files
Fixed inconsistency with 'disable-filesystem-security' switch.
parent
e940c512
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
ee4460e5
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
...
...
core/debian/changelog
View file @
ee4460e5
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.
...
...
core/sbin/sympl-filesystem-security
View file @
ee4460e5
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment