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
f96c420d
Commit
f96c420d
authored
May 10, 2020
by
Paul Cammish
Committed by
Paul Cammish
May 10, 2020
Browse files
Fixed output
parent
00ff6a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/sbin/sympl-filesystem-security
View file @
f96c420d
...
...
@@ -119,7 +119,7 @@ Require valid-user" > "${domain}/public/htdocs/stats/.htaccess"
if
[
-f
"
${
domain
}
/config/stats-htaccess"
]
;
then
find
"
${
domain
}
/config/stats-htaccess"
\(
!
-user
sympl
-o
!
-group
www-data
\)
$VERBOSE
-exec
chown
sympl:www-data
{}
\;
find
"
${
domain
}
/config/stats-htaccess"
!
-perm
660
$VERBOSE
-exec
echo
chmod
660
{}
\;
find
"
${
domain
}
/config/stats-htaccess"
!
-perm
660
$VERBOSE
-exec
chmod
660
{}
\;
fi
fi
...
...
@@ -145,7 +145,7 @@ if [ -d /etc/sympl ]; then
!
-path
'*/test.d/*'
\
!
-path
'*/firewall/local.d/*'
\
\(
!
-user
sympl
-o
!
-group
sympl
\)
\
$VERBOSE
-exec
echo
chown
sympl:sympl
{}
\;
$VERBOSE
-exec
chown
sympl:sympl
{}
\;
# Make (almost) everything read-only for others
find
"/etc/sympl"
!
-type
l
\
...
...
Write
Preview
Markdown
is supported
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