Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Basler
ISPConfig 3
Commits
b8019529
Commit
b8019529
authored
Mar 23, 2021
by
Jesse Norell
Browse files
ensure created rspamd directories have correct permission
parent
32048fac
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
b8019529
...
...
@@ -1800,14 +1800,17 @@ class installer_base {
if
(
!
is_dir
(
'/etc/rspamd/local.d/'
)){
mkdir
(
'/etc/rspamd/local.d/'
,
0755
,
true
);
chmod
(
'/etc/rspamd/local.d/'
,
0755
);
}
if
(
!
is_dir
(
'/etc/rspamd/local.d/maps.d/'
)){
mkdir
(
'/etc/rspamd/local.d/maps.d/'
,
0755
,
true
);
chmod
(
'/etc/rspamd/local.d/maps.d/'
,
0755
);
}
if
(
!
is_dir
(
'/etc/rspamd/override.d/'
)){
mkdir
(
'/etc/rspamd/override.d/'
,
0755
,
true
);
chmod
(
'/etc/rspamd/override.d/'
,
0755
);
}
if
(
substr
(
$mail_config
[
'dkim_path'
],
strlen
(
$mail_config
[
'dkim_path'
])
-
1
)
==
'/'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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