Merge pull request #234 from iredmail/master

Create directories with 077X
pull/274/head
Extra Fu 2020-04-02 09:53:04 -04:00 committed by GitHub
commit a78f06e909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@ case "$1" in
log_daemon_msg "Starting $DESC" "$NAME"
# Enforce directory existence and permissions
install -o $USER -g $USER -m 755 -d /var/run/$NAME
install -o $USER -g $USER -m 750 -d /var/spool/$NAME
install -o $USER -g $USER -m 750 -d /var/log/$NAME
install -o $USER -g $USER -m 775 -d /var/run/$NAME
install -o $USER -g $USER -m 770 -d /var/spool/$NAME
install -o $USER -g $USER -m 770 -d /var/log/$NAME
if ! start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
then