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
Timothy Frew
Sympl
Commits
1f2e68cd
Commit
1f2e68cd
authored
May 10, 2020
by
Paul Cammish
Browse files
Fixed output
parent
ffb45bcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/sbin/sympl-filesystem-security
View file @
1f2e68cd
...
...
@@ -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