diff options
Diffstat (limited to 'main/clamav/clamd.initd')
-rwxr-xr-x | main/clamav/clamd.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd index 35e6aaf6c9..5511a5666d 100755 --- a/main/clamav/clamd.initd +++ b/main/clamav/clamd.initd @@ -22,10 +22,10 @@ start_pre() { local socket=`awk '$1 == "LocalSocket" { print $2 }' $CONF` local socketdir=${socket%/*} local clamav_user=`awk '$1 == "User" { print $2 }' $CONF` - checkpath --directory --owner -m 750 ${clamav_user:-clamav} \ - ${pidfile%/*} - checkpath --directory --owner -m 750 ${clamav_user:-clamav} \ - ${socketdir:-/run/clamav} + checkpath --directory --owner ${clamav_user:-clamav} \ + --mode 750 ${pidfile%/*} + checkpath --directory --owner ${clamav_user:-clamav} \ + --mode 755 ${socketdir:-/run/clamav} } start() { |